0

I am trying to call a web service method from a wsdl which contains a partial class, I am having problem while accessing this partial class of wsdl in Java. I could not access partial class. After creating web service from this Wsdl in C# and SOAPUI, request and response of any method from this wsdl runs successfully in both C# and SOAPUI. I did not have a problem while sending parameter of partial class because I was able to access them. But in Java I could not access this partial class. Is there a solution for this problem?

Thanks.

Thank you for your advice. I send request like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:service="www.xxxxx.xx"><soapenv:Header>
  <service:SessionInfo>
     <service:UserPassword>?</service:UserPassword>
  </service:SessionInfo></soapenv:Header> <soapenv:Body>
  <service:Method1>
     <!--Optional:-->
     <service:Arguments>
        <service:Parameter1>?</service:Parameter1>
        <service:Parameter2>?</service:Parameter2>
        <!--Optional:-->
        <service:Parameter3>?</service:Parameter3>
        <!--Optional:-->
        <service:Parameter4>?</service:Parameter4>
     </service:Arguments>
  </service:Method1></soapenv:Body></soapenv:Envelope>

Thanks.

4

1 回答 1

0

对于这个问题,建议使用库 axis2 添加标题信息。在不使用库axis2的情况下,这个问题是否有另一种解决方案?

于 2013-10-22T11:04:58.323 回答