Thanks Alex, It worked.

Alex Boisvert-3 wrote:
> 
> Now that I'm looking at your BPEL in more detail, I suspect the compiler
> isn't parsing your assignments properly, as they aren't in BPEL 2.0 format
> -- the query attribute doesn't exist anymore.  So I would recommend using
> the following form of assignment,
> 
> <assign>
>   <copy>
>     <from>$message.part/path/to/source/element</from>
>     <to>$message.part/path/to/target/element</to>
>   </copy>
> </assign>
> 
> Note that you will also need to initialize your target XML structures
> using
> literals before you can assign into them, e.g.,
> 
> <assign>
>   <copy>
>     <from>
>       <literal>
>         <tns:myFirstElement/>
>         <tns:mySecondElement/>
>     </from>
>     <to>$message.part</to>
>   </copy>
> </assign>
> 
> alex
> 
> On Tue, May 13, 2008 at 8:46 PM, Vineesh Thomas <[EMAIL PROTECTED]>
> wrote:
> 
>>
>> 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 <[EMAIL PROTECTED]>
>> > 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.
>>
>>
> 
> 

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

Reply via email to