users@jax-rpc.java.net

Re: Issue with Setting SOAPACTION_USE_PROPERTY

From: Anne Thomas Manes <anne_at_MANES.NET>
Date: Mon, 15 Sep 2003 09:24:23 -0400

What does your service expect to be in the SOAPAction header?
The SOAPAction header is required in SOAP 1.1. It can contain no value, an
empty string, or a URI. Since you've specified a value of empty string,
then JAX-RPC is performing as requested.

Anne

At 12:32 PM 9/15/2003 +0530, you wrote:
>Hi,
>
>In jaxrpc1.1 (jwsdp1.2) even if I set SOAPACTION_USE_PROPERTY to false
>(using call.setProperty(Call.SOAPACTION_USE_PROPERTY,new
>Boolean("false") and the soapaction uri to empty string i.e "" ),the
>generated SOAP Message has SOAPAction in the headers(SOAPAction:
>"").This causes the remote service to throw Remote Exception.Is there a
>way to circumvent this issue?Is this the correct/expected behaviour?
>
>Thanks,
>Ravi.
>
>Arun Gupta wrote:
>
>>Hi Ravi,
>>
>>DII can be used in the following two ways:
>>
>>- with WSDL (you specify the WSDL location when creating Service object
>>from ServiceFactory)
>>- without WSDL (you do not specify WSDL location)
>>
>>Both of these cases should be used when your WSDL consists of primitive
>>types and value types with only primitive type members. You are expected
>>to get a more predictable behavior in these cases. And even within that,
>>rpc/literal and doc/literal WSDLs are better supported than rpc/encoded.
>>
>>Since you've the WSDL information with you, it is recommended to use
>>static stubs to invoke the service.
>>
>>Thanks for your interest in JAX-RPC.
>>
>>Regards,
>>-Arun
>>
>>RaviKiran wrote:
>>
>>>Hi,
>>>
>>>Is it possible to invoke a rpc/encoded or doc/literal service operation
>>>with non-primitive parameters using only DII(no dynamic proxy,no stub
>>>generation,no writing of beans) in JWSDP1.2(JAX-RPC 1.1)
>>>
>>>As a sample can I invoke the findPlace operation in the WSDL
>>>
>>>http://arcweb.esri.com/services/v2/PlaceFinderSample.wsdl
>>>
>>>The argument PlaceFinderOptions is very complex.So I would like to know
>>>if it is possible to invoke this service ,purely using DII in JAXRPC
>>>1.1.
>>>
>>>Thanks,
>>>Ravi.
>>
>>
>>
>>--
>>=============================================
>>There is only one me, I must live myself!
>>There is only one today, I must live itself!
>>=============================================
>>http://members.tripod.com/~apgupta/index.html
>>=============================================