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!

Error 'missing operation extension element as the first child of the wsdl' when uploading WSDL

JackOLanternApr 14 2016 — edited Apr 14 2016

I have done the following many times before and not experience the above error - does it look familiar to anyone? 

I have created a web service in jdeveloper (12) using the 'Create Web Service' context menu item on my class and then uploaded to our test server.  I then use weblogic to get to the WSDL and use that to create a SOAP UI project - the new service is running fine in SOAP UI. 

I then export the definition from soap ui and upload the xsd and wsdl files into a new OSB project.  When I upload the wsdl - it gives me the error: 

The WSDL is not semantically valid: The operation '{http://addressnbcommunity/}GetCommunityList' is bound to HTTP but is missing operation extension element as the first child of the wsdl:operation element. For the SOAP/HTTP protocol binding, this element is required.


I can't find anything similar when searching.  Anyone seen this before? 


The WSDL: 


<!--

Published by JAX-WS RI (http://jax-ws.java.net). RI's version is JAX-WS RI 2.2.10-b140319.1121 svn-revision#7b34660d6bc70e587e8ec81a17e4d76af68816a6.

-->

<!--

Generated by JAX-WS RI (http://jax-ws.java.net). RI's version is JAX-WS RI 2.2.10-b140319.1121 svn-revision#7b34660d6bc70e587e8ec81a17e4d76af68816a6.

-->

<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy"xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"xmlns:tns="http://addressnbcommunity/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://addressnbcommunity/"name="GetCommunitiesService">

<types>

<xsd:schema>

</xsd:schema>

</types>

<message name="GetCommunityList">

<part name="parameters" element="tns:GetCommunityList"/>

</message>

<message name="GetCommunityListResponse">

<part name="parameters" element="tns:GetCommunityListResponse"/>

</message>

<portType name="GetCommunities">

<operation name="GetCommunityList">

<input wsam:Action="http://addressnbcommunity/GetCommunities/GetCommunityListRequest" message="tns:GetCommunityList"/>

<output wsam:Action="http://addressnbcommunity/GetCommunities/GetCommunityListResponse" message="tns:GetCommunityListResponse"/>

</operation>

</portType>

<binding name="GetCommunitiesPortBinding" type="tns:GetCommunities">

<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

<operation name="GetCommunityList">

<input>

<soap12:body use="literal"/>

</input>

<output>

<soap12:body use="literal"/>

</output>

</operation>

</binding>

<service name="GetCommunitiesService">

<port name="GetCommunitiesPort" binding="tns:GetCommunitiesPortBinding">

</port>

</service>

</definitions>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2016
Added on Apr 14 2016
0 comments
657 views