Hi,

I generate a WS client using wsconsume 2.0.0.GA from an existing WSDL. However, 
the server complains about wrong types in the request. It expects the following 
fragment:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' 
  |     xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
  |     xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
  |     <env:Body>
  |             <ns2:MyMethod xmlns:ns2="org.acme">
  |                     <SomeName xsi:type="xsd:string">MyName</SomeName>
  |                     <SomeValue xsi:type="xsd:string">MyValue</SomeValue>
  |             </ns2:MyMethod>
  |     </env:Body>
  | </env:Envelope>

However, JBossWS sends the following:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  |     <env:Body>
  |             <ns2:MyMethod xmlns:ns2="org.acme">
  |                     <SomeName>MyName</SomeName>
  |                     <SomeValue>MyValue</SomeValue>
  |             </ns2:MyMethod>
  |     </env:Body>
  | </env:Envelope>

Is there a way to configure my JBossWS client to include the xsi:type 
attributes?

Thanks,
Georges

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072064#4072064

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072064
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to