Fusion Release 9 Coexistence from EBS - Invoke Webservice from EBS

The following error is seen while trying to invoke LoaderIntegrationService from EBS
Doc ID 1592028.1 has the resolution but our implementation is on cloud and we are unable to get the oimclient.jar. This is blocking our work and needs immediate help.
Need an expert advise on this issue.
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:673)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:480)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:306)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:241)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:88)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:70)
at java.lang.Class.initAnnotationsIfNecessary(Class.java:3168)
at java.lang.Class.getAnnotation(Class.java:3127)
at oracle.j2ee.ws.common.metadata.AnnotationHelper.getWebServiceAnnotation(AnnotationHelper.java:325)
at oracle.j2ee.ws.common.metadata.AnnotationHelper.getWebServiceAnnotation(AnnotationHelper.java:321)
at oracle.j2ee.ws.common.jaxws.WebServiceAttributes.<init>(WebServiceAttributes.java:45)
at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.processAnnotation(ServiceEndpointRuntimeModeler.java:122)
at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.buildRuntimeModel(ServiceEndpointRuntimeModeler.java:110)
at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.getRuntimeMetadata(WsClientProxyFactory.java:69)
at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:126)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:483)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:467)
at javax.xml.ws.Service.getPort(Service.java:160)
at com.oracle.xmlns.apps.hcm.common.batchloader.core.loaderintegrationservice.LoaderIntegrationService_Service.getLoaderIntegrationServiceSoapHttpPort(LoaderIntegrationService_Service.java:68)
at aldr.oracle.apps.aldrhr.UploadFileUCM.runProgram(UploadFileUCM.java:165)
at oracle.apps.fnd.cp.request.Run.main(Run.java:156)

Please see if the solution in (FND_SOA_SERVICE_EXECUTION_ERR Error When Invoking EBS SOA Gateway Web Service [ID 1512956.1]) is applicable.
Thanks,
Hussein

Similar Messages

  • ProcessRemoteException when invoke  webservice from Oracle E-Business Suite

    Hi,when i invoke webservice from Oracle E-Business Suite R12.1 – Integrated SOA Gateway’s
    I get following exception.
    fuego.soaptype.SoapExecutionException
    at fuego.soaptype.SoapCall.processRemoteException(SoapCall.java\:750)
    at fuego.soaptype.SoapCall.invoke(SoapCall.java:238)
    at fuego.soaptype.SoapObject.invoke(SoapObject.java:309)
    at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
    at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
    at xobject.Fuego__AutoGen__Screenflows__.__SubmitReport.initializeReport(__SubmitReport.xcdl:30)
    at.......
    this webserivce has been deployed and granted. and I can test it with soapUI.
    my code:
    configuration as Configuration = Configuration("FND_PROGRAM_Service");
    endpoint as HttpEndpoint=HttpEndpoint("http://ep066020.bscdev.net:8002/webservices/SOAProvider/plsql/fnd_program/");
    endpoint.setUsername("sysadmin");
    endpoint.setPassword("sysadmin");
    configuration.endpoint = endpoint;
    usernameTokenPlain as UsernameTokenProfileSecurityPolicy=UsernameTokenProfileSecurityPolicy("sysadmin","sysadmin");
    usernameTokenPlain.usernameTokenPasswordType = UsernameTokenPasswordType.PASSWORD_TEXT;
    policies as SecurityPolicy[];
    policies[]=usernameTokenPlain;
    configuration.securityPolicies = policies;
    service as FND_PROGRAM_Service= FND_PROGRAM_Service(configuration)
    sh as SoaHeader = SoaHeader();
    sh.namespace="";
    sh.responsibilityApplName="SYSADMIN"
    sh.responsibilityName="System Administrator"
    sh.securityGroupName="STANDARD"
    sh.nlsLanguage="AMERICAN"
    pam as InputParameters9 = InputParameters9()
    result as OutputParameters
    pam.application="SQLGL";
    pam.executableshortname="ENABLED"
    do
    logMessage "333333333333333";
    executableexists service
    using header = sh,
    body = pam
    returning result = bodyOutput (throw exception)
    logMessage "2222222222222";
    reportSF.description=String.valueOf(result.fndprogram24executableexists)
    reportSF.comments="11111111111";
    on ex as Any
         logMessage "aaaaaaaaaaaa"+ex
    end

    I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy
    I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
    policy.username ="mark";
    policy.password = "password";
    tws = YourWebService();
    response = tws.callWebServiceMethod();
    I realize the security profile isn't tied anywhere to the web service, but try it anyway.
    There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
    Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
    Edited by: Mark Peterson on Mar 19, 2010 9:20 AM

  • Urgent: How to invoke webservice from a remote client?

    How could I invoke webservice deployed on the weblogic server on different System from client residing on my System?
    I would like to know the different ways to do this and the advantages and dis-advantages of each one of them.
    Thanks in advance.
    Nitin

    nitind,
    Did you figure out how to connect to Weblogic web-service remotely?
    I tried doing so, but I get the following error on the client-side.
    A exception was thrown from the client handler sending a JAXM message.
    A stack trace for a previously logged message.
    Exception in handler handleRequest() method.
    Exception in thread "main" java.rmi.RemoteException: null; nested exception is:
    java.lang.NoSuchMethodError
    java.lang.NoSuchMethodError
    at weblogic.webservice.util.FaultUtil.fillDetail(FaultUtil.java:84)
    at weblogic.webservice.util.FaultUtil.fillFault(FaultUtil.java:141)
    at weblogic.webservice.util.FaultUtil.exception2Fault(FaultUtil.java:184
    at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainI
    mpl.java:183)
    at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:
    218)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.j
    ava:143)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:444)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:430)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:270)
    at myapp.myservice.client.NoCallbackWebServiceSoap_Stub.addition(NoCallb
    ackWebServiceSoap_Stub.java:62)
    at myapp.myservice.client.NoCallbackWebServiceSoap_Stub.addition(NoCallb
    ackWebServiceSoap_Stub.java:84)
    at testclient.example(testclient.java:48)
    at testclient.main(testclient.java:27)

  • Exception while invoking webservice

    I have created a client jar containing stub and port classe, deployment descritor
    and deployed webservices. Webservices are working fine but while invoking webservice
    with client code i am getting Exception, can somebody please help me to resolve
    it ?
    [2004-02-09 02:21:53,917] [ExecuteThread: '14' for queue: 'weblogic.kernel.Default']
    ERROR [testclient.TestServlet] Error in call object:SOAP Fault:javax.xml.rpc.soap.SOAPFaultException:
    Exception during processing: java.io.IOException: Received a response from url:
    http://localhost:7001/ipc-ws which did not have a valid SOAP content-type: text/html.
    (see Fault Detail for stacktrace)
    Detail:
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">
    </bea_fault:stacktrace>java.io.IOException: Received a response from url: http://localhost:7001/ipc-ws
    which did not have a valid SOAP content-type: text/html.
    at weblogic.webservice.binding.http11.Http11ClientBinding.handleErrorResponse(Http11ClientBinding.java:156)
    at weblogic.webservice.binding.http11.Http11ClientBinding.receive(Http11ClientBinding.java:220)
    at weblogic.webservice.core.handler.ClientHandler.handleResponse(ClientHandler.java:63)
    at weblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.java:184)
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:214)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:439)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:425)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:275)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:250)
    at com.hp.ws.testclient.CreateConfigPort_Stub.createConfig(CreateConfigPort_Stub.java:26)
    at com.hp.ws.testclient.TestServlet.callService(TestServlet.java:267)
    at com.hp.ws.testclient.TestServlet.doPost(TestServlet.java:143)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305
    Thanks
    Ratnakar

    Hello,
    There is not enough information in your post to determine an exact
    cause. When you say the web services are working fine, do you mean from
    the home/test page? What version of WLS? Is this with a static or
    dynamic client. I'm a bit concerned about what seem to be stubs showing
    up on the traceback that would indicate another SOAP stack (com.hp.ws)
    could you tell us a bit more about your configuration.
    Thanks,
    Bruce
    Ratnakar Katre wrote:
    >
    I have created a client jar containing stub and port classe, deployment descritor
    and deployed webservices. Webservices are working fine but while invoking webservice
    with client code i am getting Exception, can somebody please help me to resolve
    it ?
    [2004-02-09 02:21:53,917] [ExecuteThread: '14' for queue: 'weblogic.kernel.Default']
    ERROR [testclient.TestServlet] Error in call object:SOAP Fault:javax.xml.rpc.soap.SOAPFaultException:
    Exception during processing: java.io.IOException: Received a response from url:
    http://localhost:7001/ipc-ws which did not have a valid SOAP content-type: text/html.
    (see Fault Detail for stacktrace)
    Detail:
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">
    </bea_fault:stacktrace>java.io.IOException: Received a response from url: http://localhost:7001/ipc-ws
    which did not have a valid SOAP content-type: text/html.
    at weblogic.webservice.binding.http11.Http11ClientBinding.handleErrorResponse(Http11ClientBinding.java:156)
    at weblogic.webservice.binding.http11.Http11ClientBinding.receive(Http11ClientBinding.java:220)
    at weblogic.webservice.core.handler.ClientHandler.handleResponse(ClientHandler.java:63)
    at weblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.java:184)
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:214)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:439)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:425)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:275)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:250)
    at com.hp.ws.testclient.CreateConfigPort_Stub.createConfig(CreateConfigPort_Stub.java:26)
    at com.hp.ws.testclient.TestServlet.callService(TestServlet.java:267)
    at com.hp.ws.testclient.TestServlet.doPost(TestServlet.java:143)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305
    Thanks
    Ratnakar

  • Error while invoking webservice in bipublisher 10g

    Hi All,
    When we are invoking webservice from bi publisher 10g we are getting the following error.
    Error: java.util.arraylist
    Can any one help us.
    Thanks.

    Is there any log you can paste here
    you should have the logs in
    ~BIPublisherTrialEdition\bip\server\domains\bipdomain\servers\bipserver\logs

  • Problem while invoking webservice-method in client-code

    Hi,
    I had written webservice-client-code (using uddi-ext.jar, as i am using uddi for publishing webservices.) which is invoking webservice method successfully with complex datatypes(both for return type and input paramters).
    But while calling following webservice-method from my client-code:
    public ComplexType[] getData(String[] p_str1, String[] p_str2)
    it is throwing exception
    The Exception is:
    [ERROR] - 27 Mar 2007 12:34:38 -failed to invoke operation 'getData' due to an error in the soap layer (SAAJ); nested exception is: Message[failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure. type=['java:language_builtins.lang']:ArrayOfString schema context=TypedSchemaContext{javaType=[Ljava.lang.String;}]
    Although I had done correct registration of mapping of ArrayOfString in client-code:
    registry = m_Service.getTypeMappingRegistry();
                   m_TypeMapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING );
                   m_TypeMapping.register( ArrayOfStringHolder.class,
    new QName( "java:language_builtins.lang", "ArrayOfString" ),
    new ArrayOfStringCodec(),
    new ArrayOfStringCodec());
    But some how it doesnt works.
    I had searched on google as well but didnt find any reliable solutions.
    Please advice.
    Edited by meetmrdeepak at 03/27/2007 2:43 AM
    Edited by meetmrdeepak at 03/27/2007 2:45 AM

    See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].

  • Problem is releasing excel application from memory using webutil

    Hi Experts,
    This code is working fine but it is not releasing the excel from the memory. if i try the same set of code with Wort.Applicationa or Access.Application it works fine. But only with excel it is not working.
    Is there is any way to kill the excel application?
    application := CLIENT_OLE2.create_obj('Excel.Application');
    CLIENT_OLE2.invoke(application,'Quit');
    CLIENT_OLE2.release_obj(application);
    Thanks & Regards
    Rajesh

    This is probably <Bug:3082119 which is fixed in the production release.
    Regards
    Grant Ronald
    Forms Product Management

  • Issues invoking webservice hosted on Aqualogic Proxy service.

    Hi,
    This is my first "Hello world..." forum experience.
    I'm facing problems while invoking webservice hosted on Aqualogic Proxy Service in my local machine;
    I'm using Weblogic 10 (Oracle Service Bus 10gR3 ).
    1) I've used weblogic's "weblogic.wsee.tools.anttasks.ClientGenTask" to generate java code from wsdl file
    2) Created a stand-alone client
    code fragment :
    try{
    ServiceActivationNoticationService notificationService = new ServiceActivationNoticationService_Impl("http://localhost:7001/ServiceActivationInterface/FroxyServices/ServiceNotification".concat("?WSDL"));
    ServiceActivationNoticationPortType notificationServicePortType = notificationService.getServiceNotification();
    Empty response = ((ServiceActivationNoticationPortType_Stub)notificationServicePortType).serviceNotification(notification);
    catch(){
    System.err.println(ex.toString());
    logger.debug("Service Notification Exception...", ex);
    throw new Exception("Service Notification Exception...", ex);
    Comiling successfully but when I run I'm getting the follwing exceptions:
    Caused by: java.lang.NullPointerException
         at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.access$000(ByNameRuntimeBindingType.java:314)
         at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.getMatchingElementProperty(ByNameRuntimeBindingType.java:253)
         at com.bea.staxb.runtime.internal.ByNameUnmarshaller.findMatchingElementProperty(ByNameUnmarshaller.java:71)
         at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:43)
         at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshal(AttributeUnmarshaller.java:38)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:174)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalElement(UnmarshalResult.java:227)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshalElement(UnmarshallerImpl.java:166)
         at weblogic.wsee.bind.runtime.internal.LiteralDeserializerContext.unmarshalElement(LiteralDeserializerContext.java:87)
         at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeElement(BaseDeserializerContext.java:180)
         at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeElement(BaseDeserializerContext.java:115)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:490)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeReturn(SoapDecoder.java:400)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:170)
         at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:121)
         at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:175)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeOutput(CodecHandler.java:126)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:103)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.handleResponse(CodecHandler.java:80)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:159)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:114)
         at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
         at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:331)
         ... 3 more
    But If I create a soap message manully and invoke the same webservice, it works fine.
    Please reply soon....
    Thanks in Advance.

    Hi James,
    Thanks for your reply, and directing me to appropriate threads.
    The problem is with one of wsdl element.
    My requirement is an empty element:
    so I've created
    <element name="empty">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </element>
    when I use this element for output type as below...
    <wsdl:input message="service" type="xxx:service"/>
    <wsdl:output message="emptyResponse" type="xxx:empty"/>
    weblogic clientgen code is able invoke service successfully but the response is causing problem.
    But when I changed empty element to
    <element name="empty">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="abcd" type="xsd:string" minOccurs="0"/> I'll not use this at all.
    </xsd:sequence>
    </xsd:complexType>
    </element>
    Everything is working fine now in this case. ************************************************************************
    But I'm not sure what's wrong with
    <element name="empty">
    <xsd:complexType>
    <xsd:sequence/>
    </xsd:complexType>
    </element> because specifications says this is the way to define an empty element type.
    What's wrong with this....
    Thanks.... to Hello world! Response....

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

  • ADF forms based on BPM human tasks - Invoking webservices/view objects.

    Hi All,
    Is anyone aware of whether the following is a valid implementation that has been carried out before.
    1. ADF forms based on BPM 11G human tasks.
    2.The ADF forms invoke webservices via Webservice data controls. It is pertinent to note that the webservice bring back complex data types. We've tried writing a few forms, resulting in data benig brought back, but not being able to print them to the screen.
    3. The ADF forms also use View Object based on sql to bring back tables of data. If view objects are embedded within the forms, the applciation gives rise to a null pointer exception.
    Considering the form will be invoked via a BPM worklist entry, is there a setting or configuration we should consider before hand. Is this feasible, is there knowledge of this being done commercially.
    Any examples or information regarding the same will be immensely helpful.
    Thanks and Regards,
    Preethi.
    NB : I have posted this in the BPM forum as well as I feel it is relevant to both BPM and ADF.

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

  • How to create a Blanket Release in iProc from a approved requistion

    Hi Gurus,
    How to create a blanket Release in iProcurement from a approved requisition. I have followed the below steps.
    1. Created a BPA from Front end.
    2. Run Loader Data program.
    3. Above program reflected the BPA in iProc.
    4. Created requisition from BPA.
    5. Requisition has been approved.
    After this i am stuck. How to proceed ahead. I want to create a Blanket Release from approved PR and then receive in iProcurement.
    please help me on this. We are using 11.5.10.2
    Regards,
    john

    911765 wrote:
    Hi Mahendra,
    Thank you so much for your reply.
    So you mean to say that it all depends upon the Sourcing Rule and ASL based upon that system would automatically create a Blanket Release or If its Automatic Release/Review then we have to manually create release through autocreate.
    The reason why i am asking this query is now when i tested it, system is automatically creating release and starngely there is no Sourcing Rule and ASL has been defined.
    But we are looking for a Manual Release through autocreate window.
    It would be great if you could please suggest.
    Regards,
    JohnJohn,
    When you say system is automatically creating release..as far as i know...it should be referencing a PO..correct...in the releases window..
    can you pull that up..and see if you can get any clue..bcz that PO would BPA...
    Also I am not that much into Iproc...I don't know...whether Iproc has some other setups
    HTH
    Mahendra

  • Errors while invoking webservice

    I am getting below error while invoking webservice in jdev:
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
      <env:Fault>
       <faultcode>env:Server</faultcode>
       <faultstring>Failure in SDOSerializer.deserialize.</faultstring>
      </env:Fault>
    </env:Body>
    </env:Envelope>
    I can see only below log in jdev server log :
    <oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
    <oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
    could anybody help me to understand what gone wrong ?

    This thread might help you:
    Problems invoke Web Service

  • Error while invoking Webservice API ItemService_GetItemInformation

    The following error is encountered while invoking Webservice API "ItemService_GetItemInformation"
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>wsse:InvalidSecurity</faultcode>
    <faultstring>Missing &lt;wsse:Security> in SOAP Header</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Same is repeated even after passing
    RESPONSIBILITY_NAME => Inventory
    RESPONSIBILITY_APPL_NAME => INV
    SECURITY_GROUP_NAME => Standard
    NLS_LANGUAGE => AMERICAN
    Any pointer for the root cause of this error & how to resolve this?
    Thanks In Advance!
    priyadarshi

    Hi ..
    The error meaning: you need input the user_name and password for the SOAPHeader

  • Error while releasing an activity from NWDS

    Hi,
    I am facing the below error while releasing an activity from NWDS - transport view.
    Internal error: the export of SC_CR com.xxx.xxx/xxx_SOFTWARE_COMPONENT#Track_D.118 failed. tcs returncode was 12
    Check in and activate was successfull and in CMS, the activity is shown as activated.
    Please help me to rectify this error.
    Thanks in advance!
    Regards,
    Manchari. N

    Make sure you are connected to NWDI server.
    Also create a new activity for a different component in the same track.
    Below links may be helpful :
    http://wiki.sdn.sap.com/wiki/display/TechTSG/(NWDI)(CMS)PropagationRequestReleaseinTransportViewFails
    NWDI/CBS - release activity in consolidation
    Re: Error on Release of activity (Version set not found!)
    Regards
    Deepak

  • Error while Releasing the Stock from Quality-CRTD CHCR SPRQ

    Hai Experts
                          While releasing the stock from Quality i got  error like function cannot be caried out,
    The Material Status CRTD CHCR SPRQ.
    Thanks
    Rajakarthik

    Rajakarthik
    It looks like the status you mentioned are of inspection lot.
    CRTD mean created status of inspection lot.
    CHCR means characterstics required. in your case the the material master inspection view says characterstics required however your inspection plan does not have any cahracterstics.
    assign the characterstics to inspection plan & both the status of inspection lot will change. you will be then able to process the inspection lot to move the stock from quality to unrestricted.
    Regards
    Mahesh

Maybe you are looking for

  • Workflow/Parking  in F-03

    HI, I am trying to see if i can bring a Workflow Process for Transaction  F-03 (restricting the Users and  make it go  through an Approval Process  to clear more than say  $100).. I understood that  i would need to have the Parking Functionality for

  • Where can I buy Dreamweaver MX for Mac?

    Hi, I hope I'm not breaking any rules by posting this request. I've been trying to buy Dreamweaver MX for a Mac but just can't find anywhere it's for sale. I've tried Amazon and eBay - nothing. Could anyone give me any advice please? Thanks.

  • One of the keys on Satellite E205-S1980 not working

    I currently have a Satellite E205-S1980 and the "right" arrow key is not functioning properly. It will either work very weakly or not at all. I have cleaned my keyboard and still, it is not working right.

  • ITunes remote clears playlist on single click

    I would like to know if anyone else is annoyed by this, or possibly even has a fix. So you have a playlist that a group of people made in iTunes through the iOS remote app, it seems when you single click a song while selecting something it clears the

  • Backing up to a Lacie network drive.

    Hi, I am having a problem backing up files to my network Laci Drive. Whether I am doing it through Supper Dupper, Intego Backup Manager, or manually, I get a message along the lines of "One or more items can't be copied to "Macprobackup" because you