Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to customize jibx binding

843833Feb 18 2008
Hello, I have a question about data binding using jibx.
I use jibx2wsdl to generate wsdl, skeleton and so on.
I need a special structure of incoming SOAP message:

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
< GetCapabilities xmlns="http://tig.com" service="CSW" request="GetCapabilites">
<AcceptVersions>
<Version>1.0.0</Version>
<Version>0.8.3</Version>
</AcceptVersions>
</ GetCapabilities >
</soapenv:Body>
</soapenv:Envelope>

I need to process parameters &#8220;service&#8221;, &#8220;request&#8221; and &#8220;AcceptVersions&#8221; in service code.
But I can&#8217;t customize my binding to fulfill this purpose.

I can create a custom binding that allows me to work with request:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
< GetCapabilities xmlns="http://tig.com">
<parameters service="CSW" request="GetCapabilites">
<AcceptVersions>
<Version>1.0.0</Version>
<Version>0.8.3</Version>
</AcceptVersions>
</parameters>
</ GetCapabilities >
</soapenv:Body>
</soapenv:Envelope>

But I needn&#8217;t this additional element (&#8220;parameters&#8221;). What should I do.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2008
Added on Feb 18 2008
0 comments
130 views