ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vineesh Thomas <vinih...@gmail.com>
Subject Re: Problem in passing multiple values to a webservice
Date Wed, 14 May 2008 03:46:43 GMT

Yes Alex,

The first argument comes in fine as given.The second argument comes as null.
In the service I am wirting the inputs to a local file to chk this.


Alex Boisvert-3 wrote:
> 
> Did you check what values you're getting as input to your concat service?
> 
> alex
> 
> On Tue, May 13, 2008 at 7:24 AM, Vineesh Thomas <vinihi83@gmail.com>
> wrote:
> 
>>
>> Greetings,
>>
>> I am a newbee here.
>>
>> I am trying out a simple bpel which in turn invokes two webservices
>> (written
>> in java).
>>
>> In my recieve tag I am passing an input vairable of msg type
>> "helloWorldRequest" (correspoding wsdl file is attached).
>>
>> Next I read data from this input variable of msg type "helloWorldRequest"
>> and copy it to another message type "concatRequest". Now "concatRequest"
>> msg
>> type has a complexType with 2 elements. I am setting the same value(from
>> helloWorldRequest) to both the elements in "concatRequest".
>>
>> Then using this new variable of concatRequest msg type I invoke the
>> concat
>> web service. Everything is pretty straight forward but when i get back a
>> response from the concat webservice the value of the second arguement is
>> coming as null.
>> i.e if I am passing "abcd", "abcd"
>>    expected >> "abcd abcd"
>>    what I am getting >> "abcd null"
>>
>> I believe I am doing something wrong while copying the value and setting
>> it
>> from one request type to another.
>>
>> Kindly help me sort out this issue.
>>
>> all the related file are attached with this post.
>>
>> Thanks,
>>
>> Vineesh Thomas.
>> http://www.nabble.com/file/p17209786/Concat.bpel Concat.bpel
>> http://www.nabble.com/file/p17209786/HelloConcat.zip HelloConcat.zip
>> http://www.nabble.com/file/p17209786/HelloConcat.zip HelloConcat.zip
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-in-passing-multiple-values-to-a-webservice-tp17209786p17209786.html
>> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-in-passing-multiple-values-to-a-webservice-tp17209786p17222844.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


Mime
View raw message