Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to map xsd to a HashMap object

614245Feb 26 2008
I have written a java webservice with a method which takes HashMap as input parameter.Inside that method i add a key/value pair to the hashmap object and return it. i designed a BPEL with a partner link to the above designed webservice. I imported a simple xsd in my BPEL process and assigned it request message of my BPEL.XSD that i have imported to my BPEL project has a complext type which has two elements. Complext type is as shown.

<xsd:complexType name="empRequest">
<xsd:sequence>
<xsd:element name="empNo" type="xsd:int"/>
<xsd:element name="empName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

My expectation is when i map this [b]empRequest complext type to hashmap obect exposed by input variable of invoke object ,
input to the webservice method should a hashmap of size 2 with two keys (empNo, empName) with corresponding values that i key in as inputs.

Any ideas how we can implement this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2008
Added on Feb 26 2008
0 comments
859 views