[jboss-user] [JBossWS] - Re: trying to access a webservice - not working from either

rodgerca do-not-reply at jboss.com
Fri Aug 17 11:58:54 EDT 2007


Hi - I'm back on this now.  If you still have your wsdl please would you post the whole lot?  I've changed things around a little bit, am using arraylists instead of lists, am using BARE instead of RPC, my class names have changed slightly, but I'm still getting strange wsdl:-

- <definitions name="AddressManagerBeanService" targetNamespace="http://session.address.cmmgroup.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://session.address.cmmgroup.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  | - <types>
  | - <xs:schema targetNamespace="http://session.address.cmmgroup.com/" version="1.0" xmlns:tns="http://session.address.cmmgroup.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  |   <xs:element name="getAddressesfromPC" nillable="true" type="xs:string" /> 
  |   <xs:element name="getAddressesfromPCResponse" nillable="true" type="tns:arrayList" /> 
  | - <xs:complexType name="arrayList">
  | - <xs:complexContent>
  | - <xs:extension base="tns:abstractList">
  |   <xs:sequence /> 
  |   </xs:extension>
  |   </xs:complexContent>
  |   </xs:complexType>
  | - <xs:complexType abstract="true" name="abstractList">
  | - <xs:complexContent>
  | - <xs:extension base="tns:abstractCollection">
  |   <xs:sequence /> 
  |   </xs:extension>
  |   </xs:complexContent>
  |   </xs:complexType>
  | - <xs:complexType abstract="true" name="abstractCollection">
  |   <xs:sequence /> 
  |   </xs:complexType>
  |   </xs:schema>
  |   </types>
  | - <message name="AddressManagerBean_getAddressesfromPCResponse">
  |   <part element="tns:getAddressesfromPCResponse" name="getAddressesfromPCResponse" /> 
  |   </message>
  | - <message name="AddressManagerBean_getAddressesfromPC">
  |   <part element="tns:getAddressesfromPC" name="getAddressesfromPC" /> 
  |   </message>
  | - <portType name="AddressManagerBean">
  | - <operation name="getAddressesfromPC" parameterOrder="getAddressesfromPC">
  |   <input message="tns:AddressManagerBean_getAddressesfromPC" /> 
  |   <output message="tns:AddressManagerBean_getAddressesfromPCResponse" /> 
  |   </operation>
  |   </portType>
  | - <binding name="AddressManagerBeanBinding" type="tns:AddressManagerBean">
  |   <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
  | - <operation name="getAddressesfromPC">
  |   <soap:operation soapAction="" /> 
  | - <input>
  |   <soap:body use="literal" /> 
  |   </input>
  | - <output>
  |   <soap:body use="literal" /> 
  |   </output>
  |   </operation>
  |   </binding>
  | - <service name="AddressManagerBeanService">
  | - <port binding="tns:AddressManagerBeanBinding" name="AddressManagerBeanPort">
  |   <soap:address location="http://127.0.0.1:8080/AddressManagerBeanService/AddressManagerBean" /> 
  |   </port>
  |   </service>
  |   </definitions>

When I try to run this it generates the error "Cannot obtain java/xml type mapping for: {http://session.address.cmmgroup.com/}arrayList"



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

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



More information about the jboss-user mailing list