Hello,

I am using Axis (1.2.1) to connect to a .NET server, but the server isn't
deserialising the Axis generated message correctly.

I've used this wsdl:
http://www.javasystemsolutions.com/serviceRequestConnector.wsdl

And I've used the wsdl2java program to create my Java stubs. 

Now this is what Axis generates for the SubmitGeneralServiceRequest method:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Body>
  <SubmitGeneralServiceRequest xmlns="">
    <ns1:SubmittedGeneralServiceRequest 
xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/servicerequest/sr/srtypes";>
      <ns1:ServiceRequestIdentification

(etc.)

The .NET server replies:

Server was unable to process request. A valid 
SubmittedGeneralServiceRequestType object is required

Now it strikes me that xmlns="" looks wrong.

Does anyone have any ideas what's going on?

Thanks,


John

Reply via email to