Re: Specifying portName for DII call

From: Arun Gupta <arun.gupta_at_Sun.COM>
Date: Wed, 27 Mar 2002 15:12:30 -0800

Hi Holly,

You also need to qualify your port name. The qualified port name
consists of the target namespace of your WSDL document which is defined
as an attribute in your <definitions> element.

Hope that helps.

Thanks for your interest in JAX-RPC.


Holly Schinsky wrote:

> Hello,
> If I am creating a DII call and all I have is the WSDL file for info, what do I specify for the portName service.createCall() method when invoking thru DII? Do I just specify the port name from the service part of the WSDL? For example if I have this piece of info from the WSDL - what part do I take to specify in the createCall() method?
> <binding name="" type=
> "">
> <soap:binding style="rpc" transport="
> soap/http"></soap:binding>
> <operation name="getQuote">
> <soap:operation soapAction="urn:xmethods-delayed-quotes#
> getQuote"></soap:operation>
> <input><soap:body use="encoded" encodingStyle="http://s
>" namespace="urn:xmethods-delayed-quotes"></soap:body>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="" namespace="urn:xmethods-delayed-quotes">
> </soap:body>
> </output>
> </operation>
> </binding>
> <service name="">
> <documentation> web s
> ervice</documentation>
> <port name="" bin
> ding="">
> <soap:address location=""><
> /soap:address>
> </port>
> </service>
> Thanks in advance,

There is only one me, I must live myself!
There is only one today, I must live itself!