ESB: WSIF HTTP Binding support

Hi,
Is there a way to perform HTTP POST/GET a non-SOAP XML message from ESB? I know BPEL supports this via WSIF HTTP binding. Looking for a way to do the same in ESB.
Thanks in advance.
Regards,
Rajesh
Message was edited by:
Rajesh

I tested the WSIF HTTP provider from ESB using following binding and port definitions. My test case involves simple ESB RS forwarding the request to SOAP service configured using WSIF HTTP binding.
<message name="orderRequest_request">
<part name="orderRequest" element="inp1:orderRequest"/>
</message>
<portType name="execute_ppt">
<operation name="execute">
<input message="tns:orderRequest_request"/>
<output message="tns:orderRequest_request"/>
</operation>
</portType>
<binding name="OrderRequestHTTPPost_binding" type="tns:execute_ppt">
<http:binding verb="POST"/>
<operation name="execute">
<http:operation location="/execute"/>
<input>
<mime:mimeXml part="orderRequest"/>
<mime:content type="text/xml"/>
</input>
<output>
<mime:mimeXml part="orderRequest"/>
<mime:content type="text/xml"/>
</output>
</operation>
</binding>
<service name="OrderRequestHTTPPostService">
<port binding="tns:OrderRequestHTTPPost_binding" name="OrderRequestHTTPPost_port">
<http:address location="http://<host>:<port>/testPost/httppostservlet"/>
</port>
</service>
When I run this I am getting the following exception. I tested the same WSDL in BPEL successfully.
I tried to enable the TRC for WSIF logging by setting debug level to 'all' in both domain.log and system log settings. But not much success so far.
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
     java.lang.ClassCastException: java.util.Properties
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
     at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
     at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
     at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
     at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
     at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
     at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
     at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
     at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
     at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
     at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
     at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
     at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
     at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
     at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
     at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
     at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: java.util.Properties
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
     ... 43 more
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
     at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
     at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
     at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
     at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
     at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
     at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
     at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
     at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
     at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
     at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
     at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
     at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
     at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
     at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
     at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
     at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
     at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
     at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
     java.lang.ClassCastException: java.util.Properties
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
     ... 39 more
Caused by: java.lang.ClassCastException: java.util.Properties
     at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
     ... 43 more
</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
Has anybody tried HTTP bindng iin ESB?
Regards,
Rajesh
Message was edited by:
Rajesh

Similar Messages

  • Dynamic Partnerlink with WSIF HTTP Binding

    Hi,
    I have been trying to change the endpoint location details of my HTTP Binding Partnerlink during runtime / deploy-time. AFAIK, there are two ways to do this.
    1. Deployment Descriptor : Change the "location" property in bpel.xml to point to a different location. Ideally this can be done at deployment using ant or use the Java APIs to change them during runtime. This works for partnerlinks which use a SOAP Binding, but does not work for HTTP Get/Post Bindings.
    2. Using WS-Addressing : Again this works with a SOAP WSDL, but no go with HTTP GET/POST WSDLs.
    Has anybody been able to get dynamic partnerlinks working for non SOAP Partnerlinks?
    Regards,
    DK
    Oracle SOA Suite 10.1.3.3.0
    AIA For Communications 2.0.1

    I get a collection of endpoint url and have created a single dummy WSDL and invoked in a parallel flow within a scope.
    I have created partner reference variable, input and out variable for the service within the scope.
    You can find the code snippet below.
    <bpelx:flowN name="FlowN_1"
    N="count(bpws:getVariableData('UserUpdateRoutingService_OutputVariable','payload','/ns9:UserUpdateProviderInfoCollection/ns9:UserUpdateProviderInfo'))"
    indexVariable="flowIndex">
    <sequence name="Sequence_1">
    <scope name="Scope_1">
    <variables>
    <variable name="InvokeEnterprisePingService_pingUserBySmsId_InputVariable"
    messageType="ns5:EnterprisePingServiceRequestMessage"/>
    <variable name="InvokeEnterprisePingService_pingUserBySmsId_OutputVariable"
    messageType="ns5:EnterprisePingServiceResponseMessage"/>
    <variable name="partnerReference"
    element="wsa:EndpointReference"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="ClearEndpointEnterprisePingService">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing"
    xmlns:ns7="http://services.otn.com">
    <Address/>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    </assign>
    <assign name="SetEndpointEnterprisePingService">
    <copy>
    <from expression="bpws:getVariableData('UserUpdateRoutingService_OutputVariable','payload','/ns9:UserUpdateProviderInfoCollection/ns9:UserUpdateProviderInfo[bpws:getVariableData(&quot;flowIndex&quot;)]/ns9:enterprisepingurl') "/>
    <to variable="partnerReference"
    query="/ns7:EndpointReference/ns7:Address"/>
    </copy>
    </assign>
    <assign name="DoPartnerlinkEnterprisePingService">
    <copy>
    <from variable="partnerReference"/>
    <to partnerLink="EnterprisePingService"/>
    </copy>
    </assign>
    <assign name="AssignEnterprisePingServiceInput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns2:updatePersonRequest/ns2:person/ns3:userId/ns4:userIdValue"/>
    <to variable="InvokeEnterprisePingService_pingUserBySmsId_InputVariable"
    part="payload"
    query="/ns6:pingUserBySmsId/ns6:smsUserId"/>
    </copy>
    </assign>
    <invoke name="InvokeEnterprisePingService"
    partnerLink="EnterprisePingService"
    portType="ns5:EnterprisePingService"
    operation="pingUserBySmsId"
    inputVariable="InvokeEnterprisePingService_pingUserBySmsId_InputVariable"
    outputVariable="InvokeEnterprisePingService_pingUserBySmsId_OutputVariable"/>
    </sequence>
    </scope>
    </sequence>
    </bpelx:flowN>

  • Contents of HTTP POST is ignored for http:binding

    Hi,
    We are calling a legacy system utilizing WSIF http:binding with the POST method.
    The input of the service is defined by a DTD which was transformed to the corresponding XSD. Generally it works, except that the called service returns a HTTP 201 (No Content) most likely due bpel includes the namescope of the passed message part. Furthermore the "Content-type" in the HTTP header is undefined (Content-type: null). The HTTP Log is attached below, the BPEL-Version is 10.1.3.1.
    Adding the following lines in the XSD (that solved similar problems with the adapters) have no effect:
    nxsd:version="DTD"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    The <input> of the <http:binding> is defined by <mime:mimeXml part="dataPart"/>
    How can BPEL-PM suppress the namescope that we get an XML like the following:
    <DATA>
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    Cheers,
    Lars
    HTTP-LOG
    ========
    POST /myservice HTTP/1.1
    Host: dev1.internal
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    wsdlLocation: Sample.wsdl
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: null
    Content-length: 494
    <DATA xmlns="http://bpel/ns">
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    HTTP/1.1 204 No Content
    Date: Mon, 12 Feb 2007 15:09:25 GMT
    Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
    Content-Language: de
    Cache-Control: private
    Content-Length: 0
    Content-Type: text/html;charset=UTF-8

    Hi,
    We are calling a legacy system utilizing WSIF http:binding with the POST method.
    The input of the service is defined by a DTD which was transformed to the corresponding XSD. Generally it works, except that the called service returns a HTTP 201 (No Content) most likely due bpel includes the namescope of the passed message part. Furthermore the "Content-type" in the HTTP header is undefined (Content-type: null). The HTTP Log is attached below, the BPEL-Version is 10.1.3.1.
    Adding the following lines in the XSD (that solved similar problems with the adapters) have no effect:
    nxsd:version="DTD"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    The <input> of the <http:binding> is defined by <mime:mimeXml part="dataPart"/>
    How can BPEL-PM suppress the namescope that we get an XML like the following:
    <DATA>
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    Cheers,
    Lars
    HTTP-LOG
    ========
    POST /myservice HTTP/1.1
    Host: dev1.internal
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    wsdlLocation: Sample.wsdl
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: null
    Content-length: 494
    <DATA xmlns="http://bpel/ns">
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    HTTP/1.1 204 No Content
    Date: Mon, 12 Feb 2007 15:09:25 GMT
    Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
    Content-Language: de
    Cache-Control: private
    Content-Length: 0
    Content-Type: text/html;charset=UTF-8

  • Call HTTP POST Service from SOA HTTP Binding (one - way)

    Hi All
    Why doesn't HTTP Binding support one-way Reference (It only allows request-response in outbound mode)? I need to call a one way HTTP post service from BPEL.
    How can i achieve this with HTTP-Binding. This one way HTTP POST service is on OSB. Please help!
    Thanks!

    Look at 10g samples under tutorials/702.bindings.

  • About ESB HTTP binding

    What is meant by ESB HTTP binding? How can we download XML through ESB?

    What is meant by ESB HTTP binding? How can we download XML through ESB?

  • HTTP Binding limitation in SOA Suite 11.1.1.5

    Hi,
    We are using BPEL to integrate our systems with 3rd party systems, where we are the consumer of the service given by external vendor. The external vendor exposes XML based service (REST services) and have given a url to perform certain functionality. We are using POST method to call the service.
    In our case, the external vendor is expecting XML without the namespaces and it's a limitation at their end. So they can't modify or rebuilt their existing system to support XML namespaces. But the HTTP binding wizard is not allowing to select the input and output if no namespace is used.
    So how to overcome this problem or is it a limitation of HTTP binding that it mandates the use of namespaces. Did it in another way by converting the xml payload to string but this will not scale for larger payloads. So looking for a resolution on this.
    Thanks & Regards
    Siva

    My requirements are slightly different. I have users in a SUN LDAP directory. I need to give access to these users to the worklistapp. I have other requirements too. Like me weblogic admins also need to authenticate to the same LDAP. My build and deploy teams should also use the same process to deploy composite apps to the server.
    I am able to add a provider in myrealm. Make sure that the users that I need are readby the provider. I tested this with one user and that user is able to login to the worklist app, after I did all the steps mentioned in the thread.
    Not sure if this meets your requirements too
    Atul

  • WSIF EJB Binding Error

    Hi,
    I create a very simple WSIF EJB binding, when running the BPEL process from the BPEL Console, I always got the "org.collaxa.thirdparty.apache.wsif.WSIFException: Class 'java.lang.String' is not compatible" error.
    ========================================
    Here is the WSDL for the EJB:
    ========================================
    <definitions name="DisconnectWebService"
    targetNamespace="http://ord.itech.oracle.com/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://ord.itech.oracle.com/"
    xmlns:java="http://schemas.xmlsoap.org/wsdl/java/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:ejb="http://schemas.xmlsoap.org/wsdl/ejb/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
    <message name="TransMessage">
    <part name="a" type="xsd:string" />
    </message>
    <portType name="DisconnectWebService">
    <operation name="startTrans">
    <input name="startTransRequest" message="tns:TransMessage"/>
    </operation>
    </portType>
    <binding name="DisconnectWebServiceWSIF" type="tns:DisconnectWebService">
    <ejb:binding/>
    <format:typeMapping encoding="Java" style="Java">
    <format:typeMap typeName="xsd:string" formatType="java.lang.String"/>
    <format:typeMap typeName="xsd:int" formatType="int"/>
    </format:typeMapping>
    <operation name="startTrans">
    <ejb:operation
    methodName="startTrans"
    parameterOrder="a"
    interface="remote"/>
    <input name="startTransRequest"/>
    </operation>
    </binding>
    <service name="DisconnectWebService">
    <port name="DisconnectWebServiceWSIFPort"
    binding="tns:DisconnectWebServiceWSIF">
    <ejb:address className="com.oracle.itech.model.TestSessionEJBHome"
    jndiName="TestSessionEJB"
    initialContextFactory="com.evermind.server.rmi.RMIInitialContextFactory"
    jndiProviderURL="ormi://localhost/app"/>
    </port>
    </service>
    </definitions>
    ========================================
    Here is the error:
    ========================================
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB@10e6817 : Could not invoke 'startTrans'; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Class 'java.lang.String' is not compatible, detail=org.collaxa.thirdparty.apache.wsif.WSIFException: Class 'java.lang.String' is not compatible}}

    Did you manage to find a solution to this? Im having the exact same problem...
    Did you get anywhere? A point in the right direction would be great...
    Thanks in advance...
    Ian

  • Error with HTTP binding - 11g

    Hi all ,
    I am getting below error while calling existing RESTful webservice from BPEL SOA composite, using HTTP Binding:
    *“null schema location for ns=null [Cause=null schema location for ns=null] at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)”*
    WSDL file for HTTP service is
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="CASPaymentService"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/CSGetPaymentProvABCS/CASPaymentService"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/CSGetPaymentProvABCS/CASPaymentService"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <plt:partnerLinkType name="Request_Response_plt">
    <plt:role name="Request-Response_role">
    <plt:portType name="tns:Request_Response_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    *<schema xmlns="http://www.w3.org/2001/XMLSchema">*
    *<include schemaLocation="xsd/InputOutputFault.xsd"/>*
    *</schema>*
    </wsdl:types>
    *<wsdl:message name="envelope_msg_in">*
    *<wsdl:part name="input" element="envelope"/>*
    *</wsdl:message>*
    *<wsdl:message name="envelope_msg_out">*
    *<wsdl:part name="envelope" element="envelope"/>*
    *</wsdl:message>*
    <wsdl:portType name="Request_Response_ptt">
    <wsdl:operation name="Request-Response">
    <wsdl:input message="tns:envelope_msg_in"/>
    <wsdl:output message="tns:envelope_msg_out"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    Input schema  ( InputOutputFault.xsd) is like below: Please note it has no namespace
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="envelope">
    </xsd:element>
    </xsd:schema>
    binding in composite.xml is :
    <reference name="GetPaymentCAS" ui:wsdlLocation="GetPaymentCAS.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/GetPaymentCASServiceCall/GetPaymentCAS#wsdl.interface(Request_Response_ptt)"/>
    <binding.ws port="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/GetPaymentCASServiceCall/GetPaymentCAS#wsdl.endpoint(GetPaymentCAS/Request_Response_pt)"
    location="GetPaymentCAS.wsdl" supports="http">
    <property name="http.verb" type="xs:string" many="false">POST</property>
    <property name="endpointURI" type="xs:string" many="false">http://testaia:9111/CAS/servlets/PaymentServicesServlet</property>
    <property name="http.payload" type="xs:string" many="false">xml</property>
    </binding.ws>
    </reference>
    It seems like HTTP binding in 11g works with XSD with some namespace only. And if we provide the schema details in either <wsdl:types> or via “including schema in wsdl” as shown above, at runtime it still try to look for schema file.
    Any workaround/solution for same is highly appreciated.
    Thanks & Regards
    Pintoo

    hi,
    I depolyd my ProvideABCS into EM here i ubable to invoke the serveses i get below error
    webservices invoikesfail:
    The selected operation ProcessEcoproduct could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException
    addtionalinfo:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:808) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:362) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:802) ... 79 more Caused by: oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1040) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:826) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:358) ... 82 more
    please help on it

  • Http binding (rest service) adapter unable access endpoint

    Hi I have a problem with security.
    Http binding adapter has endpoint https://192.168.10.10:8080/uuid/453434563
    I have added my client certificate and server certificate to keystore. I have made a configuration in soa server/console keystores and ssl.
    Non Recoverable System Fault :
    ORAMED-03303:[Unexpected exception in case execution]Unexpected exception in request response operation "Request-Response" on reference "ecm". Possible Fix:Check whether the reference service is properly configured and running or look at exception for analyzing the reason or contact Oracle Support Services. Cause:Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL
    Should I add a policy to http adapter in composite?

    Anuj,
    The End point URI is correct. As I have mentioned earlier , I have used the same URI to post the message from the browser's POSTER functionality and it worked . So URI is not the culprit.
    However I found from the Oracle Documentation that - XML payload with Complex Types is not yet supported in Http Binding . Only Xml's with Simple payload are supported. That could be a reason for this issue.
    Regards,
    Sridhar.
    Edited by: Sridhar-SOA on Feb 28, 2012 6:39 AM

  • Problem with WCF-Custom adapter (WS HTTP Binding with reliable messaaging) - Error event logged, even though transaction completed Sucessfully

    Hi All
    I am using WCF-Custom (WS HTTP Binding) with Message security as Windows and using Reliable messaging in the send port. Its a static Port. 
    Every thing works fine as expected for the interface. ie the transaction is success. After a min of the transaction completion. I am getting the following error
    01. I have not checked Propagate Fault message (as a solution provided in another blog)
    02. Its a static Port
    03. I am using reliable messaging
    The below error events are logged in the event viewer
    The Message Engine Encountered an error while suspending one or more Messages ( ID 5677)
    Event  ID : 5796
    The transport proxy method MoveToNextTransport() failed for adapter WCF-Custom: Reason: “Messaging engine has no record of delivering the message to the adapter. This could happen if MoveToNextTransport() is called multiple times for the same message by
    the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine”. Contact the adapter vendor
    Should I have log this issue with Microsoft through Service request ? or is there any work around is there. Unfortunate is I cannot remove the reliable messaging from the service.
    Arun

    Hi,
    Is there any solution to this problem?
    I am getting the same issue "The transport proxy method MoveToNextTransport() failed for adapter WCF-NetTcp: Reason: "Messaging engine has no record of delivering the message to the adapter.
    This could happen if MoveToNextTransport() is called multiple times for the same message by the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine". Contact the adapter vendor"
    I checked this link http://rajwebjunky.blogspot.be/2011/09/biztalk-dynamic-request-response-port.html, but
    in my case i am not using dynamic port.
    In my scenario, i have a number of dehydrated orchestrations that become active every Monday 6:00 AM UTC and make to calls to a WCF service, to spread out the load I have implemented a load distribution logic where orchestrations send request to service
    in every 1 minute (not at the same time). but still i get this error sometime.
    I have opened a ticket with MS support but thought that someone might have already found the root cause.
    Let me know if there is one.
    Thanks,
    Rahul
    Best Regards, Rahul Dubey MCTS BizTalk Server

  • JDev 11g - WSDL generation using HTTP binding - WSDL2Java

    I'm using JDev 11.1.1.3.0.  Trying to create a WSDL that uses only an HTTP binding (non-SOAP) to recreate a web service I'm trying to connect to.  My hope is to create the WSDL and use the 'Java Web Service from WSDL' tool (WSDL2Java) to create the Java client code for connecting to the web service.  (No, the author of the web service does not support SOAP. Sigh).
    First off, I do not see an option to create a straight HTTP binding using the 'WSDL Editor/Create Binding' dialog, (only SOAP11, SOAP12, Java, EJB, JCA, JMS, Custom).  So I manually created the binding based on what I could find in the w3c.  Here it is slightly modified with bogus namespaces and URL addresses:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="https://my.server.com/context/"
                 xmlns="http://schemas.xmlsoap.org/wsdl/"
                 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                 xmlns:tns="https://my.server.com/context/"
                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                 xmlns:types="https://my.server.com/context//types"
                 xmlns:java="http://schemas.xmlsoap.org/wsdl/java/"
                 xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/">
      <types>
        <xsd:schema targetNamespace="https://my.server.com/context//types"
                    elementFormDefault="qualified"/>
        <xsd:schema>
          <xsd:import schemaLocation="MyRequest.xsd" namespace="https://my.server.com/context//types"/>
        </xsd:schema>
        <xsd:schema>
          <xsd:import schemaLocation="MyResponse.xsd" namespace="https://my.server.com/context//types"/>
        </xsd:schema>
        <xsd:schema>
          <xsd:import schemaLocation="Common.xsd" namespace="https://my.server.com/context//cmn"/>
        </xsd:schema>
      </types>
      <portType name="AvailabilityServices">
        <operation name="RequestAvailability">
          <input message="tns:AvailabilityRequestMessage"/>
          <output message="tns:AvailabilityResponseMessage"/>
        </operation>
      </portType>
      <message name="AvailabilityRequestMessage">
        <part name="part" element="types:PNARequest"/>
      </message>
      <message name="AvailabilityResponseMessage">
        <part name="part" element="types:PNAResponse"/>
      </message>
      <binding name="AvailabilityServicesHTTPBinding"
               type="tns:AvailabilityServices">
        <http:binding verb="POST"/>
        <operation name="RequestAvailability">
          <http:operation location="RequestAvailability"/>
          <input>
            <mime:content type="application/xml"/>
          </input>
          <output>
            <mime:mimeXml/>
          </output>
        </operation>
      </binding>
      <service name="AvailabilityService">
        <port name="AvailabilityServicesPort"
              binding="tns:AvailabilityServicesHTTPBinding">
          <http:address location="https://my.server.com/context/"/>
        </port>
      </service>
    </definitions>
    I really don't know if the the input and output tags for the binding are correct.  I've tried <mime:mimeXml/> for both.  I basically want to just send and receive the XSD schemas as straight XML over HTTP.  Is this right?
    Secondly, when trying to generate the Java code from this WSDL, the generation fails with an IndexOutOfBoundsException:
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/C:/_Developer11g1_1_3_0/work/Web/PriceAvailability/public_html/WEB-INF/wsdl/PriceAvailability.wsdl": Index: 0, Size: 0
        at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)
        at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)
        at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)
        at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:745)
        at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:364)
        at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)
        at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)
        at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
        at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/_Developer11g1_1_3_0/work/Web/PriceAvailability/public_html/WEB-INF/wsdl/PriceAvailability.wsdl": Index: 0, Size: 0
        at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
        at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)
        at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)
        at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)
        at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
        ... 8 more
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/C:/_Developer11g1_1_3_0/work/Web/PriceAvailability/public_html/WEB-INF/wsdl/PriceAvailability.wsdl": Index: 0, Size: 0
        at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)
        at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
        at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
        at $Proxy39.getJaxWsSeiInfo(Unknown Source)
        at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)
        ... 11 more
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at oracle.j2ee.ws.tools.jaxws.wsdl.WSDLToJavaModelBuilder.consolidateInterfaceMappings(WSDLToJavaModelBuilder.java:689)
        at oracle.j2ee.ws.tools.jaxws.wsdl.WSDLToJavaModelBuilder.consolidateInterfaceMappings(WSDLToJavaModelBuilder.java:682)
        at oracle.j2ee.ws.tools.jaxws.wsdl.WSDLToJavaModelBuilder.build(WSDLToJavaModelBuilder.java:196)
        at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:656)
        ... 20 more
    Anybody know how to write a WSDL with a non-SOAP HTTP binding and then generate Java from it?
    Thanks

    Okay, I'll check it out.  I know the newest version of SoapUi handles REST services (not sure if that's what I'm trying to attempt) so maybe I could 'ping' the web service using it.
    But seeing how this is a JDeveloper forum, I was hoping somebody could help me create a WSDL with HTTP bindings using the JDeveloper tool set, or at least identify if I have correctly defined the HTTP binding in my sample WSDL.  Does JDev 11g not have this functionality?

  • 11.1.1.4 - HTTP Binding Adapter

    In soa suite 11.1.1.4, I was able to test a sample program using http binding adapter in calling a restful web serivce that has complex types as input and output.
    The oracle document says it does not support complex types (reference. Oracle note/document ID 1328955.1 ). What exactly does that document mean ?

    Hi Robert,
    I was trying out the same thing using HTTP adapter in 11.1.15, but i am getting error when i used the complex types with GET method.
    Are you able to use XML complex types with GET method. I tried both the ways to create the complex type and also tried with multiple parts in the WSDL created by HTTP binding. But in all cases i am getting REPLACE_WITH_ACTUAL_URL error. Same thing is working with the POST method.
    Thanks
    Siva

  • How can i set dynamic properties in HTTP Binding adapter  at run time

    Hi,
    I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
    Is it possible to set Version , Retry Count, timeout, authentication type at run time.
    below is code for setting endpointURI, UserName and Password dynamically.
    <invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
    partnerLink="SACS_Http_Adapter"
    portType="ns1:Request_Response_ptt" operation="Request-Response"
    inputVariable="HttpInvoke_Request-Response_InputVariable"
    outputVariable="HttpInvoke_Request-Response_OutputVariable">
    <bpelx:toProperties>
    <bpelx:toProperty name="endpointURI" variable="inputVariable"
    part="payload" query="@endpoint"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.username"
    variable="inputVariable" part="payload"
    query="@username"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.password"
    variable="inputVariable" part="payload"
    query="@password"/>
    </bpelx:toProperties>
    </invoke>
    Thanks,
    Siva
    Edited by: 929920 on Apr 25, 2012 7:45 AM

    Hi Bastain,
    Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
    This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback. 
    Here is an example of what I mean. 
    Adam
    Attachments:
    set SN within Main Sequence.seq ‏80 KB

  • Problem while using HTTP Binding in BPEL

    Hello
    I have a scenario where I am suppose to access a JSON based RESTful API from BPEL. I have created a HTTP binding adapter for the given endpoint.
    When I test the process I am getting the following error
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</summary>
    </part>
    <part name="detail">
    <detail>Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</detail>
    </part>
    And while I was compiling it in JDeveloper I am getting the following error
    Warning(24,52): Failed to Find Binding "Get":"{http://xmlns.oracle.com/pcbpel/adapter/http/ProcessProject/GetContact/Get}Request_Response_pt" in WSDL Manager
    Can anyone please help me with this?
    Thanks

    Thank you for the reply
    I am able to contact the same endpoint from SoapUI and also the browser. As far as I know there is no proxy that is required but I will still go ahead and ask the provider.
    And do you have any clue why I am getting the error in Jdev when I compile the project?
    And another thing that I would like to mention is that the WSDL that the HTTP Binding adapter created is incomplete as in it does not have the <wsdl:service> tag, is that something that I should be looking out for?
    This is what my WSDL (generated by HTTP Binding Adapter) looks like
    <?xml version="1.0" encoding="UTF-16"?>
    <wsdl:definitions
    name="Get"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/http/ProcessProject/GetContact/Get"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/http/ProcessProject/GetContact/Get"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:msg_in_out="http://TargetNamespace.com/http"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <plt:partnerLinkType name="Request_Response_plt">
    <plt:role name="Request-Response_role">
    <plt:portType name="tns:Request_Response_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://TargetNamespace.com/http" schemaLocation="xsd/Get.xsd"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="root_msg_in">
    <wsdl:part name="root" element="msg_in_out:root"/>
    </wsdl:message>
    <wsdl:message name="root_msg_out">
    <wsdl:part name="root" element="msg_in_out:root"/>
    </wsdl:message>
    <wsdl:portType name="Request_Response_ptt">
    <wsdl:operation name="Request-Response">
    <wsdl:input message="tns:root_msg_in"/>
    <wsdl:output message="tns:root_msg_out"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    Thanks
    Edited by: user1165407 on Aug 1, 2012 3:54 PM

  • FIM 2010 R2 Web Service Connector SAP HCM HTTP binding

    Hi all,
    I'm currently configuring the FIM web service connector to connect to a SAP HCM system.
    I followed the documentation (http://www.microsoft.com/en-us/download/details.aspx?id=29943) to create the necessary web service on the SAP system. With the only difference that
    I'm not able to select "None" (HTTP) under the Web Service Communication Security Settings as described in the documentation.
    I had to select SSL and now get the following error message in the Web Service Configuration Tool.
    Synchronization Service Manager
    Following Endpoints are configured with unsupported binding:
    - 'customBinding' binding for 'Z_IDM_CONNECTOR_SOAP12' endpoint
    Please configure endpoint(s) with http binding only and refresh service(s).
    Web service connector cannot be configured through Synchronization Service Manager if endpoint binding is not basic http.
    Any help how to fix this is highly appreciated. I already can see the available BAPIs in the Web Service Configuration Tool. (In other words "Discovery" is working.)
    I'll get the same error if I try to load the configration file into the Web Service Connector in the Sync Engine.
    Thanks
    Chris

    Ok. I got that fixed by changeing the Transport Security to "None" in the Security Profile of the Service Definition.
    I'm now facing a different error that you might be able to help.
    I'm not able to add additional BAPIs to the SU_USER Function Group as described in the documentation because the "Plus" Button is missing in my screen. How can I add these BAPIs in order to use the Web Service Configuration Tool with the provided SAP ECC
    6 configuration template?
     Thanks
    Chris

Maybe you are looking for

  • Material valuation with respect planned price 1 in material master

    Dear All,      The costing variant PPC1 has been used for released cost estimate. In my scenario I want to create one more variant say ZPC1 where to calculate the value of the material from the planned price 1. In this case 1.     What should be the

  • About move statement in abap.

    move-corresponding is only for structure or also for internal table? if you know please some details.

  • Firefox randomly starts eating tons of CPU causing lagging and freezing

    Firefox V.35 on Windows 7 64 bit Ok, idk what has gotten into Firefox the last few updates, but it has become incredibly SLOW and laggy. It does NOT matter how many times I clear cache, it has no effect on this. I can be browsing any page.. and at ra

  • AC3 Codec - for QT and Toast

    Hola, My Toast DVD's made from avi's have no sound. Avi files played in QT have no sound. I assume it's related? Do I need the AC3 codec? Where do I get it, where do I put it? Gracias.

  • Sleep of death problem Tablet S r5

    My Tablet S suffers sleep of death problem after upgrading to ICS r5. I did factory reset several days ago and it seemed the problem has gone. But from yesterday it has begun again and happened twice today. Overall I am satisfied with the upgrade, be