thank you!. but... I use this constructor:

JaxServiceStub stub = new JaxServiceStub("
http://127.0.0.1:80/SNMP/services/JaxService";);

you know?

and other question, can you explain me why the autogenerated wsdl in
http://127.0.0.1/SNMP/services/JaxService?wsdl (port 80) says this:

> <wsdl:port name="JaxServiceHttpSoap11Endpoint"
> binding="ns:JaxServiceSoap11Binding">
> <soap:address
> location="
http://127.0.0.1:8080/SNMP/services/JaxService.JaxServiceHttpSoap11Endpoint/
"/>
> </wsdl:port>
> -
> <wsdl:port name="JaxServiceHttpEndpoint"
binding="ns:JaxServiceHttpBinding">
> <http:address
> location="
http://127.0.0.1:8080/SNMP/services/JaxService.JaxServiceHttpEndpoint/"/>
> </wsdl:port>

(ports 8080)

Thank you









On Wed, May 4, 2011 at 3:45 PM, Sagara Gunathunga <
[email protected]> wrote:

> Please look at the default constructor of the generated stub class.
>
> Also you can specific exact port at code generation time using "-pn
> <port name > " option in WSDL2JAVA tool.
>
> Thanks !
>
> On Tue, May 3, 2011 at 4:25 PM, Martín R. <[email protected]> wrote:
> > The autogenerated  WSDL includes 3 bindings:
> >
> > <wsdl:port name="RequestValorHttpEndpoint"
> > binding="ns:RequestValorHttpBinding">
> > <http:address
> > location="
> http://127.0.0.1:8080/SNMP/services/RequestValor.RequestValorHttpEndpoint/
> "/>
> > </wsdl:port>
> > -
> > <wsdl:port name="RequestValorHttpSoap12Endpoint"
> > binding="ns:RequestValorSoap12Binding">
> > <soap12:address
> > location="
> http://127.0.0.1:8080/SNMP/services/RequestValor.RequestValorHttpSoap12Endpoint/
> "/>
> > </wsdl:port>
> > -
> > <wsdl:port name="RequestValorHttpSoap11Endpoint"
> > binding="ns:RequestValorSoap11Binding">
> > <soap:address
> > location="
> http://127.0.0.1:8080/SNMP/services/RequestValor.RequestValorHttpSoap11Endpoint/
> "/>
> > </wsdl:port>
> >
> > and 2 if I use JAXWS:
> > <wsdl:port name="JaxServiceHttpSoap11Endpoint"
> > binding="ns:JaxServiceSoap11Binding">
> > <soap:address
> > location="
> http://127.0.0.1:8080/SNMP/services/JaxService.JaxServiceHttpSoap11Endpoint/
> "/>
> > </wsdl:port>
> > -
> > <wsdl:port name="JaxServiceHttpEndpoint"
> binding="ns:JaxServiceHttpBinding">
> > <http:address
> > location="
> http://127.0.0.1:8080/SNMP/services/JaxService.JaxServiceHttpEndpoint/"/>
> > </wsdl:port>
> >
>
>
>
> --
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to