XFire
  1. XFire
  2. XFIRE-1141

XFire Java client invoking .NET web service is missing tag

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      XFire Java client invoking .NET web service
    • Number of attachments :
      0

      Description

      The SOAP envelope generated by XFire client is missing a tag causing the web service to reject it.

      WSDL Definition:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aci="http://comnet-fids.com/ACI-FIMS">
      <soapenv:Header/>
      <soapenv:Body>
      <aci:ProcessDocument>
      <aci:MyDoc>

      </aci:MyDoc>
      </aci:ProcessDocument>
      </soapenv:Body>
      </soapenv:Envelope>

      Java Code:

      Client client = new Client(new URL( – wsdl – ));
      JAXBContext context = JAXBContext.newInstance(Connect.class.getPackage().getName());
      Marshaller m = context.createMarshaller();
      m.marshal(connect, xmlDocument);
      Object[] result = client.invoke("ProcessDocument", new Object[]

      {xmlDocument}

      );

      Sent by XFile (<MyDoc> tag is missing):

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soap:Body xmlns:ns1="http://comnet-fids.com/ACI-FIMS">
      <ns1:ProcessDocument xsi:type="xsd:anyType">

      – xml document –

      </ns1:ProcessDocument>
      </soap:Body>
      </soap:Envelope>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            Doug
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: