[jboss-user] [JBossWS] - SOAP Address in wsdl file

MmarcoM do-not-reply at jboss.com
Sun Oct 22 11:22:51 EDT 2006


hi all,
 is there any way to specify the proper URL for an EJB3 deployed as a webservice?

in my wsdl, URL is *ALWAYS*    at port 8080, while my jboss is runnign at port 9080.....

here's wsdl of EJB3 deployed as webservice

  | <definitions name="WSFacade" targetNamespace="http://org.jboss.ws/ejb3ws">
  | ?
  | 	<types>
  | ?
  | 	<schema elementFormDefault="qualified" targetNamespace="http://core.j2me.mm.com/jaws">
  | <import namespace="http://org.jboss.ws/ejb3ws"/>
  | ?
  | 	<complexType name="Agency">
  | ?
  | 	<sequence>
  | <element name="emailAddress" nillable="true" type="string"/>
  | <element name="id" type="int"/>
  | <element name="jobHunter" nillable="true" type="string"/>
  | <element name="name" nillable="true" type="string"/>
  | <element name="phoneNumber" nillable="true" type="string"/>
  | <element name="site" nillable="true" type="string"/>
  | </sequence>
  | </complexType>
  | </schema>
  | ?
  | 	<schema elementFormDefault="qualified" targetNamespace="http://org.jboss.ws/ejb3ws">
  | <import namespace="http://core.j2me.mm.com/jaws"/>
  | ?
  | 	<complexType name="testWebServiceMethod">
  | ?
  | 	<sequence>
  | <element maxOccurs="unbounded" minOccurs="0" name="Agency_1" nillable="true" type="ns2:Agency"/>
  | </sequence>
  | </complexType>
  | ?
  | 	<complexType name="testWebServiceMethodResponse">
  | ?
  | 	<sequence>
  | <element maxOccurs="unbounded" minOccurs="0" name="result" nillable="true" type="ns2:Agency"/>
  | </sequence>
  | </complexType>
  | <element name="testWebServiceMethod" type="tns:testWebServiceMethod"/>
  | <element name="testWebServiceMethodResponse" type="tns:testWebServiceMethodResponse"/>
  | </schema>
  | </types>
  | ?
  | 	<message name="WSRemoteSEI_testWebServiceMethodResponse">
  | <part element="tns:testWebServiceMethodResponse" name="result"/>
  | </message>
  | ?
  | 	<message name="WSRemoteSEI_testWebServiceMethod">
  | <part element="tns:testWebServiceMethod" name="parameters"/>
  | </message>
  | ?
  | 	<portType name="WSRemoteSEI">
  | ?
  | 	<operation name="testWebServiceMethod">
  | <input message="tns:WSRemoteSEI_testWebServiceMethod"/>
  | <output message="tns:WSRemoteSEI_testWebServiceMethodResponse"/>
  | </operation>
  | </portType>
  | ?
  | 	<binding name="WSRemoteSEIBinding" type="tns:WSRemoteSEI">
  | <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  | ?
  | 	<operation name="testWebServiceMethod">
  | <soap:operation soapAction=""/>
  | ?
  | 	<input>
  | <soap:body use="literal"/>
  | </input>
  | ?
  | 	<output>
  | <soap:body use="literal"/>
  | </output>
  | </operation>
  | </binding>
  | ?
  | 	<service name="WSFacade">
  | ?
  | 	<port binding="tns:WSRemoteSEIBinding" name="WSRemoteSEIPort">
  | <soap:address location="http://WorldCorp:8080/ejbJ2me-app-1/TestFacade"/>
  | </port>
  | </service>
  | </definitions>
  | 

is there any way to customize the soap address?

thanks in advance and regarsd
  Marco

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

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



More information about the jboss-user mailing list