Getting error while invoking BAM Web service from SOAP UI

Dear All,
I am trying to create a data object in BAM using BAM DataObjectDefinition Operations Web service using below payload
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bam="http://xmlns.oracle.com/bam">
<soapenv:Header/>
<soapenv:Body>
<bam:Create>
<!--Optional:-->
<bam:xmlPayload><DataObject Version="14" Name="Employees3" ID="_Employees3" Path="/Samples"
External="0">
<Layout>
<Column Name="Salesperson" ID="_Salesperson" Type="string" MaxSize="30"
Nullable="1" Public="1" />
<Column Name="Sales Number" ID="_Sales_Number" Type="decimal"
Nullable="1" Public="1" />
<Column Name="Timestamp" ID="_Timestamp" Type="timestamp"
Nullable="0" Public="1" />
<Indexes />
</Layout>
</DataObject>
</bam:xmlPayload>
</bam:Create>
</soapenv:Body>
</soapenv:Envelope>
But i am getting below error in SOAPUI 4.5.1 and it seems something is wrong with Payload
AM-06100: Data object definition creation failed.com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [2,0]
Can anyone advise me what needs to be change in above payload so that it can create a DataObject in BAM.
Thanks,

Dear All,
I manage to create a DataObject in BAM using below payload.
Hope it will help
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bam="http://xmlns.oracle.com/bam">
<soapenv:Header/>
<soapenv:Body>
<bam:Create>
<!--Optional:-->
<bam:xmlPayload>
<![CDATA[<DataObject Version="14" Name="Employees3" ID="_Employees3" Path="/Samples"
            External="0">
  <Layout>
    <Column Name="Salesperson" ID="_Salesperson" Type="string" MaxSize="30"
            Nullable="1" Public="1" />
    <Column Name="Sales Number" ID="_Sales_Number" Type="decimal"
            Nullable="1" Public="1" />
    <Column Name="Timestamp" ID="_Timestamp" Type="timestamp"
            Nullable="0" Public="1" />
    <Indexes />
  </Layout>
</DataObject>]]>
</bam:xmlPayload>
</bam:Create>
</soapenv:Body>
</soapenv:Envelope>

Similar Messages

  • Getting .ServiceException while invoking a web service from a client

    I created a web service and then created a web service client from wsdl in eclipse. I am getting the following error when trying to call the web service from client.
    javax.xml.rpc.ServiceException: There is no stub implementation for the interface: examples.ejb.ejb20.basic.statelessSession.TraderBeanService
    Please find the files here -
    wsdl - http://www.sourcepod.com/uneksu63-9627
    Trade.java - http://www.sourcepod.com/mltizr21-9628
    TradeResult.java - http://www.sourcepod.com/npledh19-9629
    TradeResultService - http://www.sourcepod.com/hbjevm45-9630
    TradeResultServiceLocator.java - http://www.sourcepod.com/mrpagh85-9631
    TradeResultSoapBindingStub.java - http://www.sourcepod.com/zjrkjv91-9632
    package examples.ejb.ejb20.basic.statelessSession;
    import javax.xml.ws.WebServiceRef;
    import javax.xml.namespace.QName;
    public class HelloClient {
        @WebServiceRef(wsdlLocation="http://localhost:7001/webservice/services/TraderBean?wsdl")
        String url = "http://localhost:7001/webservice/services/TraderBean?wsdl";
             QName qname = new QName("http://statelessSession.basic.ejb20.ejb.examples", "TraderBeanService");
        public static void main(String[] args) {
            try {
                HelloClient client = new HelloClient();
                client.doTest(args);
            } catch(Exception e) {
                e.printStackTrace();
        public void doTest(String[] args) {
            try {
                 TraderBeanServiceLocator service = new TraderBeanServiceLocator(url,qname);
                TraderBean port = (TraderBean) service.getPort(TraderBeanService.class);
                System.out.println("Invoking the sayHello operation on the port.");
                TradeResult response = port.buy("INR", 100);
                System.out.println(response.getNumberTraded());
            } catch(Exception e) {
                e.printStackTrace();
    }How to solve the stub implementation error?
    Edited by: 901007 on 12 Aug, 2012 10:57 AM

    That did not work either. There was getPorts() and not getPort() and I used getPorts(). And I am getting the below error,
    java.lang.ClassCastException: java.util.HashMap$KeyIterator
    But when I try like the below,
        @WebServiceRef(wsdlLocation="http://localhost:7001/webservice/services/TraderBean?wsdl")
        String url = "http://localhost:7001/webservice/services/TraderBean?wsdl";
        QName qname = new QName("http://statelessSession.basic.ejb20.ejb.examples", "TraderBeanService");
                TraderBeanServiceLocator service = new TraderBeanServiceLocator();
                TraderBean port = (TraderBean) service.getPort(TraderBean.class);
                System.out.println("Invoking the sayHello operation on the port.");
                TradeResult response = port.buy("INR", 200);
                System.out.println(response.getNumberTraded());I am getting the below error,
    Invoking the sayHello operation on the port.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: examples.ejb.ejb20.basic.statelessSession.TraderBean
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:Gopi_Desktop
    java.lang.InstantiationException: examples.ejb.ejb20.basic.statelessSession.TraderBean
    As you can see the statement"Invoking the sayHello operation on the port." is getting printed but after that error is thrown.
    I tried changing it to, TraderBean port = (TraderBean) service.getPort(qname, TraderBeanServiceLocator.class);
    But even this is throwing the same error, java.lang.InstantiationException: examples.ejb.ejb20.basic.statelessSession.TraderBean
    I changed my webservice using Axis2 web service runtime and this time when I try to invoke using client, I am getting the following,
    [WARN] Weblogic's StAX implementation is unsupported and some Axiom features will not work as expected! Please use Woodstox instead.
    Exception in thread "Main Thread" org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: Error at line:1 col:217 ':' Already got a ':' in name
         at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
         at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
         at examples.ejb.ejb20.basic.statelessSession.TraderBeanStub.addTwoNumbers(TraderBeanStub.java:185)
         at examples.ejb.ejb20.basic.statelessSession.TestClient.main(TestClient.java:15)
    If you need more details, I can post the steps I did to build it...
    Any help is greately appreciated.
    Edited by: 901007 on 15 Aug, 2012 10:27 PM
    Edited by: 901007 on 15 Aug, 2012 10:49 PM

  • Error while invoking a Web Service from a Web Application in Websphere 5.1

    Hi,
    I get the following error when i try to connec to a Webservice on Weblogic server.
    Can anybody help me in determinig the reason for the error-
    faultCode: Server.generalException
    faultString: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.
    faultActor: null
    faultDetail:
    org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.
    at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:150)
    at com.ibm.ws.webservices.engine.SOAPPart.getSOAPEnvelope(SOAPPart.java:868)
    at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:1225)
    at com.ibm.ws.webservices.engine.Message.getFault(Message.java:757)
    at com.ibm.ws.webservices.engine.Message.ifFaultThrowSelf(Message.java:737)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:252)
    at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
    at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
    at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)
    at com.bea.www.TATServicePortStub.getDetailsFull(TATServicePortStub.java:874)
    at com.bea.www.TATServicePortProxy.getDetailsFull(TATServicePortProxy.java:134)
    at com.dhl.amis.cds.webtracking.action.TrackAction.experiment(TrackAction.java:160)
    at com.dhl.amis.cds.webtracking.action.TrackAction.execute(TrackAction.java:104)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    Caused by: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.
    at com.ibm.ws.webservices.engine.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:285)
    at com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConverter.java:775)
    at com.ibm.ws.webservices.engine.events.P2DConverter.startElement(P2DConverter.java:270)
    at sax.SAX2DocumentEntityParserBase.startElement(Unknown Source)
    at sax.latin.LatinWFCSAX2DocumentEntityParser.startElement(Unknown Source)
    at sax.SAX2DocumentEntityParserBase.startElementAction(Unknown Source)
    at util.DocumentEntityParserBase.startElementEvent(Unknown Source)
    at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanStartElement(Unknown Source)
    at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
    at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
    at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
    at util.DocumentEntityParserBase.parse(Unknown Source)
    at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
    at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:251)
    at com.ibm.ws.webservices.engine.SOAPPart.getSOAPEnvelope(SOAPPart.java:864)
    ... 39 more
    WebServicesFault
    faultCode: Server.generalException
    faultString: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.
    faultActor: null
    faultDetail:
    org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.
    at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:150)
    at com.ibm.ws.webservices.engine.SOAPPart.getSOAPEnvelope(SOAPPart.java:868)
    at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:1225)
    at com.ibm.ws.webservices.engine.Message.getFault(Message.java:757)
    at com.ibm.ws.webservices.engine.Message.ifFaultThrowSelf(Message.java:737)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:252)
    at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
    at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
    at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
    at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)
    at com.bea.www.TATServicePortStub.getDetailsFull(TATServicePortStub.java:874)
    at com.bea.www.TATServicePortProxy.getDetailsFull(TATServicePortProxy.java:134)
    at com.dhl.amis.cds.webtracking.action.TrackAction.experiment(TrackAction.java:160)
    at com.dhl.amis.cds.webtracking.action.TrackAction.execute(TrackAction.java:104)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    Caused by: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.
    at com.ibm.ws.webservices.engine.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:285)
    at com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConverter.java:775)
    at com.ibm.ws.webservices.engine.events.P2DConverter.startElement(P2DConverter.java:270)
    at sax.SAX2DocumentEntityParserBase.startElement(Unknown Source)
    at sax.latin.LatinWFCSAX2DocumentEntityParser.startElement(Unknown Source)
    at sax.SAX2DocumentEntityParserBase.startElementAction(Unknown Source)
    at util.DocumentEntityParserBase.startElementEvent(Unknown Source)
    at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanStartElement(Unknown Source)
    at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
    at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
    at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
    at util.DocumentEntityParserBase.parse(Unknown Source)
    at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
    at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:251)
    at com.ibm.ws.webservices.engine.SOAPPart.getSOAPEnvelope(SOAPPart.java:864)
    ... 39 more
    [10/3/06 23:31:59:271 IST] ad6d507 SystemOut O Experiment exceptionorg.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ShipmentReference of bean vobject.tatservice.dhl.com.ShipmentReference.

    Hi,
    Thanx it is working now.
    BTW can you give me some urls with info of this kind of setting which i need to do for other kind of integarions in J2EE platform.Sorry if i am asking too much as i am a starter in this technology.

  • Error while invoking a Web service deployed on OC4J from Oracle BPEL

    Hi,
    I had created a web service from a simple java class using JDeveloper and deployed that on OC4J which had emmited a wsdl for the web service. On the same AS my BPEL processing is deployed in which i had created a partner link by using 1st option (i.e Browse WSDL files from local file system) and invoking the published method of the java class.I am expecting that the method of the class which is deployed as web service will be executed and i will get the return of the method as the response of the invoke activity , but i am getting this error :
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://localhost:8080/MyIM-JavaCustomerFactory-context-root/JavaCustFactory', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    It seems that the Invoke activity is not able to get the WebService and it is asking for some settings , if any clue regarding this pls reply.
    I can also give the wsdl also.
    mail me at [email protected]

    Hi,
    Thanx it is working now.
    BTW can you give me some urls with info of this kind of setting which i need to do for other kind of integarions in J2EE platform.Sorry if i am asking too much as i am a starter in this technology.

  • QName error while calling a web service from Sourcing

    I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
    Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
    IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
    java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
    The same jar and same code works fine when called from a standalone java program.
    I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
    Can anyone please help me out in figuring out what is the issue?

    This is the stack trace of the error:
    #2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
    #BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
    Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
        at $Proxy2539.grantOrganizationRoles(Unknown Source)
    I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response

  • Client Authentication error while invoking portal web service.

    Hi All,
    I have created a java portal web service from portal service using NWDS, I am getting client authentication error while invoking the service.
    Please tell me where to enter client authenticity details.
    regards
    Santosh

    hi,
      check whether you have the UME permissions for accessing this webservice.
    Rdgs,
    Guru

  • Extra Tag Getting Added while invoking a Web service

    Hi all,
    We are facing an issue while trying to invoke a web service. We are assigning values to invoke input variable of the invoke. The issue is that while invoking an Extra element named “input” is getting added.
    For Eg: The required one is
    <messages>
    <invoke_Webservice_Input>
    Payload
    </invoke_Webservice_Input>
    </messages>
    But what is getting passed is :
    <messages>
    *<input>*
    <invoke_Webservice_Input>
    Payload
    </invoke_Webservice_Input>
    *</input>*
    </messages>
    Due to this, the invoke is failing and we are not able to proceed. The error which we are getting is "*exception on JaxRpc invoke: unexpected null*"
    If any has faced similar issues, please share your experience.
    PS: The same wsdl is working in other environments. only thing we changed is the Endpoint URI and that endpoint URI is also accessible.
    Thanks
    Mohan

    can u re import the wsdl into the process and then change the endpoint uri... undeploy the previous process.. bounce the server and then deploy the new process and try

  • Error while calling a web service from BCM to CRM

    Dear Experts,
    I'm calling a CRM web service from BCM via Custom IVR. The web service works fine when run using SOAPUI. But when called from BCM, there is an error in the CEM logs as mentioned below:
    11:16:51.515 (11224              ) ERR> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: SoapClient::Invoke3 - Unknown operation ZCRMU_CUST_AUTHO_ONCALL
    11:16:51.515 (11224              ) ERR> [EXC] : IvrApplication.callSoapMethod (CALL_ID=48B73B3988FDD541BD0722E4D6512E26): Exception
    11:16:51.516 (11224              ) ERR> <type 'exceptions.RuntimeError'> : SoapClient::Invoke3 - Unknown operation ZCRMU_CUST_AUTHO_ONCALL
    11:16:51.518 (11224              ) ERR> File: .\IvrApplication.py (1728)  Func: callSoapMethod          <None>
    11:16:51.518 (11224              ) ERR> File: .\soaplib.py    (  25)  Func: __call__                <None>
    11:16:51.518 (11224              ) ERR> File: .\soaplib.py    (  40)  Func: __request                <None>
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: TcpConnection::OnDisposed
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: Disposed while still connection open
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: Close
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: CloseMySocket - closed
    11:16:51.518 (08220/IpcWorker    ) DBG> ThreadPool[00558068]: WorkerThread GetQueuedCompletionStatus result=0 poverlapped=09E21C6C key=0C3D6220 bytes=0
    11:16:51.518 (08220/IpcWorker    ) DBG> ThreadPool[00558068]: IIoCompletion pending=1
    11:16:51.518 (08220/IpcWorker    ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: OnIoCompletion 09E21C6C result=0 bytes=0
    11:16:51.518 (08220/IpcWorker    ) DBG> (0C3D6294) LastError::WinError TcpConnection::OnIoCompletion - 10038 (0x2736) An operation was attempted on something that is not a socket.
    11:16:51.518 (08220/IpcWorker    ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: OnIoCompletion 09E21C68 receive
    It seems that through the IVR the web service is not even reached. I discovered this by inserting an external break point in the CRM Function Module which is called by the web service.
    Can anybody help me in resolving this error? I'm working on BCM 7 SP 6.
    Thanks in Advance.
    Regards,
    Swapna

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • Error while calling a Web Service from a Session Bean

    I am trying to call a Web Service from a Session Bean using an Axis client, but I am getting the next exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException: org/apache/axis/client/Service
         at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:364)
         at javax.rmi.CORBA.Util.wrapException(Util.java:277)
         at com.ing.mx.seguros.siniestros.litigios.ejb._SisaServiceRemote_Stub.invocarWebSericeProveedorLegal(Unknown Source)
         at com.ing.mx.seguros.siniestros.litigios.proxy.SisaWsProxy.solicitarApoyoLegal(SisaWsProxy.java:132)
         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:324)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:850)Thanks for any help provided.
    Does any one have insights about it?

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • Error while calling .svc web service from pl/sql using utl_dbws

    Hello Folks,
    I am calling a .svc web service from pl/sql using utl_dbws and encountering the following error
    javax.xml.rpc.soap.SOAPFaultException: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
    Can you help me find what am I doing wrong?
    Thanks
    Rk

    Hi,
    Here are the details
    1. What version?
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    2. What error message ... we need the full and complete error stack not your interpretation of it.
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Messag
    3. "I am calling means what?" We need the full and complete statement showing the values of all parameters.
    The input to the web-service is a xmltype containing address information and the web-service returns a string
    CREATE OR REPLACE FUNCTION get_id
    RETURN VARCHAR2
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.CALL;
    l_wsdl_url VARCHAR2 (32767);
    l_namespace VARCHAR2 (32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return VARCHAR2 (32767);
    BEGIN
    l_wsdl_url := 'http://test.com/test.svc?wsdl';
    l_namespace := 'http://test.org/';
    l_service_qname := UTL_DBWS.to_qname (l_namespace, 'SName');
    l_port_qname := UTL_DBWS.to_qname (l_namespace, 'BasicHttpBinding_ISName');
    l_operation_qname := UTL_DBWS.to_qname (l_namespace, 'Iden');
    l_service :=
    UTL_DBWS.create_service
    (wsdl_document_location => urifactory.geturi
    (l_wsdl_url),
    service_name => l_service_qname
    l_call :=
    UTL_DBWS.create_call (service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname
    l_xmltype_in :=
    SYS.XMLTYPE
    ('<IdenRequest xmlns:i="http://www.w3.org/XMLSchema-instance" xmlns="http://test.org/SNameIden.WCFService">
    <address />
    <zip>12345</zip>
    <state>AA</state>
    <street>W Test </street>
    </address>
    </IdenRequest>'
    l_xmltype_out :=
    UTL_DBWS.invoke (call_handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.EXTRACT ('//Iden/text()').getstringval();
    RETURN l_return;
    END;
    /

  • Unexpected element name: expected error while invoking external web service

    Hi,
    In JDeveloper when I invoke external web service call, I am getting following exception
    "unexpected element name: expected=..."
    But the same application works fine in .NET. Can someone help me as to why I am getting the exception only in JDeveloper and how to fix this exception.
    Thanks.

    Hi,
    Without more information, it will be hard to help, and tell you what could be teh issue.
    Usually, this kind of error occurs when the payload and the WSDL schema are out of sync, for example if the order of the element on the wire do not match the order in a sequence declaration, you may get this error.
    In such case, .NET handle the XML as if it was a 'all' -- no specific order -- and deserialize the message properly.
    Hope this helps,
    -eric

  • Parse errors while creating a Web service from Java class!

    Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
    I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
    "Validation failed.
    The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
    import java.io.*;
    import java.util.*;
    class isPrime
    public static void main (String args[])
    Scanner reader = new Scanner(System.in);
    int n;
    System.out.println ("Enter a number you want to know is it prime or not");
    n=reader.nextInt();
    if (isPrime(n))
    System.out.println ("True");
    else
    System.out.println ("False");
    static boolean isPrime (int n)
    int i=2;
    while (i<=n-1)
    if (n%i==0)
    return false;
    i++;
    return true;
    }

    Hi,
    Can anybody tell me please, is it possible to create
    a Web Service from java class where the input from
    user is required ?Yes, the parameters of your method will be mapped in WSDL.
    But i've some considerations about your code.
    I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
    I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
    Regards.

  • Error while calling a web service from Entity CRUD methodes

    Hi All,
    I have created an entity service with remote persistency(web service).I have mapped the entity service create methode with the web service create method.Similarly entity service edit method with the web service edit method.But when i am testing this in service browser i am getting a dataaAcess exception.
    And an empty row is being created in the data base. This is the exception sequence.
    com.sap.caf.rt.exception.CAFUpdateException: Data Layer Issues
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:177)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:135)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceLocalLocalObjectImpl0.update(iprTestServiceServiceLocalLocalObjectImpl0.java:478)
    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:324)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.updateDependentObject(ServiceWrapper.java:489)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.createDataContainerBean(ServiceWrapper.java:198)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.createDataObject(CAFServiceAccessBeanImpl.java:159)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessLocalLocalObjectImpl20.createDataObject(CAFServiceAccessLocalLocalObjectImpl20.java:775)
    at com.sap.caf.rt.ui.cool.generic.AspectServiceAccess.insertAspectRow(AspectServiceAccess.java:215)
    at com.sap.caf.rt.ui.cool.generic.Aspect.insertRows(Aspect.java:1425)
    at com.sap.caf.rt.ui.cool.generic.Aspect.sendChanges(Aspect.java:1543)
    at com.sap.caf.rt.ui.cool.generic.ServiceModule.sendChanges(ServiceModule.java:298)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.saveData(TableViewCC.java:379)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.saveData(InternalTableViewCC.java:208)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.TableViewCV.onActionSave(TableViewCV.java:394)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalTableViewCV.wdInvokeEventHandler(InternalTableViewCV.java:371)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.caf.rt.exception.DataAccessException: Data Layer Issues
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.store(RemoteDataAccessService.java:1198)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:172)
    ... 47 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Data Layer Issues
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:648)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:511)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.executeOperation(RemoteDataAccessService.java:159)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.store(RemoteDataAccessService.java:1180)
    ... 48 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Data Layer Issues
    at com.sap.caf.mp.core.data.service.manager.wsdl11.WSDL11ServiceManager.executeOperation(WSDL11ServiceManager.java:247)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:259)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeConsiderSSO(DataServiceFactory.java:1056)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:622)
    ... 51 more
    Plz tell me what is the wrong with my approach?.
    Thanks
    Sampath.G

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • Error while invoking secure web service.

    Hi,
    I am trying to access a secure web service through a simple BPEL process in SOA Suite 11g. When I test it through enterprise manager I am getting the following error. Since it's a secured websecure i set the WS policy(oracle/wss_username_token_client_policy) in the external reference and also provided the credentials. If anyone has come across similar error or know the solution please let me know. Also I am not sure if its related to security or is it with the way I am trying to call the service.
    Error Message:
    Fault ID     reference:80014
    Fault Time     May 22, 2011 12:54:45 PM
    Non Recoverable System Fault :
    javax.xml.ws.soap.SOAPFaultException: 99999: Unknown Service
    Error Message: {http://schemas.oracle.com/bpel/extension}remoteFault
    Fault ID     default/Mocking!1.0*soa_be35cb3e-5f05-49df-a696-a653d5703681/BPELProcess1/30017-BpInv0-BpSeq0.3-3
    Fault Time     May 22, 2011 12:54:46 PM
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>99999: Unknown Service</summary></part><part name="detail"><detail>&lt;con:fault xmlns:con="http://www.bea.com/wli/sb/context"> &lt;con:errorCode>99999&lt;/con:errorCode> &lt;con:reason>Unknown Service&lt;/con:reason> &lt;con:location> &lt;con:node>PipelinePairNode1&lt;/con:node> &lt;con:pipeline>PipelinePairNode1_request&lt;/con:pipeline> &lt;con:stage>stage1&lt;/con:stage> &lt;/con:location> &lt;/con:fault> </detail></part><part name="code"><code>soap:Server</code></part></remoteFault></bpelFault>

    Thanks very much for your suggestion. I will take a look into the wsdl again and see if something is wrong in that.
    I have a peculiar problem with the wsdl. When I created the partner link using the remote wsdl it would throw a compilation error. But when I took a local copy of the remote wsdl and seperated all the schema's from the wsdl and imported them inside wsdl it gets compiled. But I am not sure if this is a appropriate thing to do and if that is creating this problem. Any thoughts on this would be really helpful.

  • Compliation Error while invoking Secure web service.

    Hi,
    I am trying to invoke secure JDE Business Service in SOA 11g from a simple Composite process as a partnerlink.
    The JDE Business Service is deployed on a weblogic server. The service is getting invoked through SOAP UI but is giving compilation errors when used in a Composite process.
    Error(17,30): Load of wsdl "https://hostname:port/DV900/AddressBookManager?wsdl" failed
    Error(20,30): Load of wsdl "AddressBookManagerDefinitionsWrapper.wsdl" failed
    Error(33,88): Cannot find Port Type "{http://oracle.e1.bssv.JP010000/}Oracle_E1_SBF_JWS_PkgBldFile_AddressBookManager" for "AddressBookManager" in WSDL Manager
    Could someone please let me know how to resolve this issue.
    Also, is this related to some kind of keystores that need to be imported into JDeveloper or Weblogic Server
    OR
    Certificates that need to be imported into my application.
    Any help will be appreciated.
    Regards,
    Varun Maheshwari
    Edited by: Varun Maheshwari on 01.des.2011 08:30

    In Document 663626.1 there are a few tests/samples that could help with testing and verification.
    If this isn't what you're looking for, you may want to check out the Information Center for Using Business Services (BSSV) in the JD Edwards EnterpriseOne Tools and Technology Product (Doc ID 1365168.2)
    Hope that helps!

Maybe you are looking for

  • Error in updating/inserting task in database

    When I pass in a runtimeFault Code, Detail and Summary into Flexstring1,2,3 I am getting this runtime error : Error in updating/inserting task in database. SQL Exception while updating/inserting task into the database. Check the error stack and fix t

  • Why can't you change the .html/.htm filetype icons for Firefox?

    **Before you read this question: NOTICE I am talking about Firefox Icons on Windows, NOT ON FIREFOX BOOKMARKS/PROGRAM!!!!! Read the question then please, please visit the link so you have a better understanding of what I'm asking with this question!!

  • How to disable generic alv buttons in CL_SALV_TABLE?

    I am needing to disable individually the generic alv buttons in CL_SALV_TABLE.  I see how to disable buttons by group.  eg-      lr_functions->set_group_export( abap_false ).      lr_functions->set_group_filter( abap_false ).      lr_functions->set_g

  • HT4489 anybody know how to import a contact in outlook to iCloud?

    Looking to import outlook contacts into iCloud? Can anyone give me some help? Thanks

  • How is utilization index calculated?

    Hi there, When I create a dashboard widget, I can select from top highest or top lowest utilization. I am curious how the utilization is calculated? Is it average over all metrics or is there some sampling? Thanks, -Nigel