Thanks for your answer Dimuthu. If I don't have the wsdl (only the url) is there a way to retrieve it trough axis2c? I am asking this because the axis2c is already configured for https and network proxies and it would be convenient to use.
Thanks in advance, Balazs On Wed, Apr 9, 2008 at 5:55 AM, Dimuthu Gamage <[EMAIL PROTECTED]> wrote: > Hi Balazs, > There is no standard way to determine API endpoint from the WSDL uri. > But most of web service platforms follow the convention that if your > API uri is > "http://xxx.myhost.com/myservice > > then mostly wsdl can be retrieved from > "http://xxx.myhost.com/myservice?wsdl". Note the postfix "?wsdl". > > Anyway if you have the WSDL best way to retrieve the endpoint is > process the xml document in the WSDL and extract the > service/port/address element at the end of the WSDL ( this is for wsdl > v 1.1) > > <wsdl:definitions> > .... > <wsdl:service name="Adder"> > <wsdl:port name="AdderSOAP11port_http" > binding="ns0:AdderSOAP11Binding"> > <soap:address > location="http://localhost:8080/axis2/services/Adder"/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > > Thanks > Dimuthu > > On Wed, Apr 9, 2008 at 2:15 AM, Balazs Borbely <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > My web service is published trough a WSDL and the endpoint uri can be > > different on different deployments, Is there an API to determine the > > endpoint uri > > given the WSDL url? > > > > Thanks, > > Balazs > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
