XFire Java client invoking .NET web service is missing tag
----------------------------------------------------------

                 Key: XFIRE-1141
                 URL: http://jira.codehaus.org/browse/XFIRE-1141
             Project: XFire
          Issue Type: Bug
         Environment: XFire Java client invoking .NET web service
            Reporter: Doug
            Assignee: Dan Diephouse
            Priority: Critical


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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to