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!

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.

Oracle Service Bus 12c: Element /definitions/documentation rewritten in effective WSDL of a proxy se

KarelHusaSep 12 2016 — edited Sep 13 2016

We store a version of a proxy service inside a WSDL document -- into the element /definitions/documentation:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:tns="http://mynamespace.cz/1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
     name="MyService"
     targetNamespace="http://mynamespace.cz/1.0">
     <wsdl:documentation>
          <version>2.0</version>
     </wsdl:documentation>

I can deploy a service to the Service Bus 12c (12.2.1) and the service works fine. When I display the WSDL from the Service Bus console (so called resource WSDL), the WSDL is as I expect and includes:

<wsdl:documentation><version>2.0</version></wsdl:documentation> 

However, if I get the effective WSDL (created by Service Bus from resource WSDL) by the URL:http://myserver:port/sbresource?PROXY/MyService/MyService

The element documentation is overwritten:

<WL5G3N0:documentation>2.0</WL5G3N0:documentation> 

The element version is completely missing, however it's content is still present.

Can you please advise why this is happening and if there is any workaround available? We need to preserve the element "version", so that the parsers will be able to retrieve the service version.

My aim is to get an easy to use solution for the service consumers, i.e. have a single WSDL as the source of information and let the WSDL simple as possible to be easily parsed by XPath.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2016
Added on Sep 12 2016
2 comments
557 views