[jboss-user] [JBossWS] - Re: Example for transmitting a pojo

cknowles do-not-reply at jboss.com
Mon Aug 21 05:39:20 EDT 2006


I'm not sure if the namespace should or shouldn't be qualified. Here's the part of my wsdl corresponding to the function called that threw the above error. It may be a bug in the client code I'm using, but if its a bug in jboss, I'm unsure if its with jboss WS or jboss XB.


  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions name="HelloWorldService" targetNamespace="urn:HelloWorldService/wsdl" 
  | xmlns:tns="urn:HelloWorldService/wsdl" 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  | xmlns:ns2="urn:HelloWorldService/types" 
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  | xmlns="http://schemas.xmlsoap.org/wsdl/">
  |   <types>
  |     <schema targetNamespace="urn:HelloWorldService/types" 
  | xmlns="http://www.w3.org/2001/XMLSchema" 
  | xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" 
  | xmlns:tns="urn:HelloWorldService/types" 
  | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  |       <complexType name="Company">
  |         <sequence>
  |           <element name="address" nillable="true" type="string"/>
  |           <element name="id" nillable="true" type="int"/>
  |           <element name="name" nillable="true" type="string"/>
  |         </sequence>
  |       </complexType>
  |     </schema>
  |   </types>
  |   <message name="HelloWorldServiceSEI_updateCompany">
  |     <part name="Company_1" type="ns2:Company"/>
  |   </message>
  |   <message name="HelloWorldServiceSEI_updateCompanyResponse">
  |     <part name="result" type="xsd:boolean"/>
  |   </message>
  |   <portType name="HelloWorldServiceSEI">
  |     <operation name="updateCompany" parameterOrder="Company_1">
  |       <input message="tns:HelloWorldServiceSEI_updateCompany"/>
  |       <output message="tns:HelloWorldServiceSEI_updateCompanyResponse"/>
  |     </operation>
  |   </portType>
  |   <binding name="HelloWorldServiceSEIBinding" type="tns:HelloWorldServiceSEI">
  |     <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="updateCompany">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal" namespace="urn:HelloWorldService/wsdl"/>
  |       </input>
  |       <output>
  |         <soap:body use="literal" namespace="urn:HelloWorldService/wsdl"/>
  |       </output>
  |     </operation>
  |   </binding>
  |   <service name="HelloWorldService">
  |     <port name="HelloWorldServiceSEIPort" binding="tns:HelloWorldServiceSEIBinding">
  |       <soap:address location="http://localhost/EnterpriseApplication1-war/HelloWorldService"/>
  |     </port>
  |   </service>
  | </definitions>
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966405



More information about the jboss-user mailing list