Error while invoking a external Web service

Hi all,
I am getting a error while invoking the webservice.
I have tested in soapUI its working there but in BPEL it gives me error.
Soap request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">http://www.lodestarcorp.com/ProcessPayloadString</wsa:Action>
<wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">uuid:058a8965-3bd3-4e29-8c2b-f96f74ccef7d</wsa:MessageID>
<wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">http://mngktr51623/lodestar/platform/webservices/AdapterWS.asmx</wsa:To>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" soap:mustUnderstand="1">
<wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:Username>Divya_V</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password1</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body xmlns:ns1="http://www.lodestarcorp.com/">
<ns1:ProcessPayloadString>
<ns1:serviceID>WS_MDM_AVAILABILITY</ns1:serviceID>
<ns1:payload><![CDATA[<MDMREQUEST><METERACTIVE METERID="CON_METER_00"/></MDMREQUEST>]]></ns1:payload>
</ns1:ProcessPayloadString>
</soap:Body>
</soap:Envelope>
Error Message:
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="code">
<code>Security
</code>
</part>
-<part name="summary">
<summary>
Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
</summary>
</part>
-<part name="detail">
<detail>null
</detail>
</part>
</remoteFault>
I have provided the Action header but still the same error message.
Kindly assist.
With Regards,
Divz

Hi,
do you use 10.1.2 or 10.1.3?
Take a look at:
Re: How to create a web service with ArrayList or Collection

Similar Messages

  • Serialization error while invoking a Java web service

    Hi,
    I've a requirement where I need to create a Java web service, which returns a collection (a set of records).
    The way I've created a web service is by having a Java Class, which internally calls a Pl/sql package returning Ref cursors and a bean Class, which wraps the method of the Java Class, to return the collection. I could create the web service successfully and could invoke the end point. The end point looks like this: http://localhost:8988/MyJavaWebService-New_JWS-context-root/MyWebService_finalSoapHttpPort
    The method exposed for the web service in my Java class is of type ArrayList, to fetch the collection element.
    After giving the input at the end point, while I say invoke, for the web service, I get the following error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://mypkg/types/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (serialization error: no serializer is registered for (class mypkg.EmpBean, null))</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I've tried making my exposed method of type Vector as well and re-generated the web service. But still I face the same issue at invocation.
    Can anybody help me out and hint me on how I should proceed? I'm not sure if my approach is correct and so please correct me if I'm wrong.
    Thanks in Advance,
    Gayathri

    Hi,
    do you use 10.1.2 or 10.1.3?
    Take a look at:
    Re: How to create a web service with ArrayList or Collection

  • URGENT: Error while invoking soap-based web service from BPEL process

    I am trying to invoke a soap-based web service deployed in a different OC4J container but on the same iAS middle tier install as the BPEL server. The deployment is successful. I am running 10.1.2 BPEL server.
    But invoking a process throws the following error.
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://stadd53.us.oracle.com:7779/idm/ProvService/cps', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "ProvService" 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 "ProvService" 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>
    Any ideas on what the problem might be ?

    Sandor,
    Thanks. Your suggestion of turning off optSoapShortcut worked. So does that mean that by default remote web services cannot be invoked from BPEL process by SOAP - unless this configuration change is done ?

  • Invoking an external web service through a JCD with Basic Authentication

    Group,
    I am trying to invoke an external web service (written in ASP.Net) from a jcd (5.1.2). The web service is guarded by Basic Authentication. I have entered the crudentials into the External Web service environment component and deployed the project. I receive the following error from the .invoke() method:
    request requires HTTP authentication: Unauthorized
    I have tried the same request through SoapUI using the same crudentials and get back the response correctly. Has anyone tried invoking an external web service with basic authentication through a jcd in 5.1.2 before?
    One other item of note. I have another jcd calling a different external web service deployed on the same domain. I hope that this isn't interfering with the execution of this service as it doesn't require any crudentials to execute.

    Hey Chris.
    I am just starting to write a jcd that calls an external web service but cannot find any sample code nor instructions on how to do it in the supplied documentation. Could you send me a code sample from your one?
    Cheers
    Matt

  • Error when calling an external web service (blank soap action)

    I did a lot of searching on this message and did not find an answer. Most of the issues i found related to XI/PI, which we are not using.
    There is a web service created outside of SAP for which i generated (from the WSDL) a proxy class in my DEV system, client 050, a few years ago. This was subsequently moved to QA and production, and all is working fine.
    Now, i want the same web service to work in client 100. I created the logical port, and the RFC destination, but when i try to call the web service, i get the following error
    Server did not recognize the value of HTTP Header SOAPAction
    Since only the basis group around here can access the logical port definition,and rfc destination, i have no idea where this information should be set up. I should not have to reimport the WSDL, since the proxy was imported from DEV to QA and it is working in QA client 050. There is something i need to set up, specific to client 100, and i am missing it. I looked in SOAMANAGER, and i didnt see anything even set up  there for client 050, so i did set up anything for client 100.
    Any help would be appreciated.

    I tried adding the web reference in a console app and works fine. In the plugins this can't be done, because the plugins are deploy in database.
    I tried another basic test using ChannelFactory. Only want to retrieve some entity through the external web services:
    IPluginExecutionContext context = localContext.PluginExecutionContext;
    IOrganizationService service = localContext.OrganizationService;
    ITracingService tracer = localContext.TracingService;
    try
    BasicHttpBinding binding = new BasicHttpBinding();
    binding.Name = "BasicHttpBinding_IAxxisWcfServices";
    binding.Security.Mode = BasicHttpSecurityMode.None;
    binding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
    binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
    EndpointAddress endpoint = new EndpointAddress(@"http://*****.svc");
    ChannelFactory<IAxxisWcfServices> factory = new ChannelFactory<IAxxisWcfServices>(binding, endpoint);
    IAxxisWcfServices channel = factory.CreateChannel();
    var entity = channel.FindByEntities(new CRM.Application.Context.Dtos.Asegurado( { CrmGuid = "7C3E96C6-C3BC-E411-80DF-0A736AE14667" }, null, new CRM.Framework.Session() { User = "***", Password = "***" });
    catch (Exception ex)
    throw new InvalidPluginExecutionException(ex.Message);
    That test threw the following exception on the GenericParameterAttributes of channelType of factory object:
    http://s27.postimg.org/4wf3er8up/Error.png

  • Need to invoke a external web service

    Hi folks,
    I am new to XI. I need to create a BPM process which has to trigger an external web service. Could any one tell me how can i proceed in this?
    Steps what i have done so far in this regard is ,
    1. consumed a external web service into IR as external definition
    2. created message types similar to this external definition message types.
    3. Created Inbound interface(for external service) and outbound interface from my system.
    4. Created the operation mapping & message mapping between this 2 messages.
    So in the integration directory , i didnt start with the process. So kindly help me in this process.
    Thanks,
    Senthilkumar

    Hi Senthil,
                   You need to create Communication channel for sender agreement, communication channel for Recevier agreement............Senario name ..........
    Click on the below mentioned link for help with screenshots:
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    TBIT41:
    https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
    TBIT42:
    https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
    TBIT43:
    http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
    TBIT44:
    https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
    Reward with ponits if helpful
    Regards
    Sai Ganesh

  • Getting error-"Process Access denied" while invoking Process as web service

    Hi,
    I have a very simple Business Process, just to take some input & give some String as output. I published this BP as web service on Oracle BPM - Process Administrator. I got its WSDL also. I can invoke startSession operation. But when I invoke the operation that is exposed by BP as web service, I am getting an error - "Process Access denied".
    Please help to solve the issue, as I need it urgently.
    Thanks,
    Sujata

    Hi Ariel,
    Thanks for reply and sorry for delay on updating status. Actually our process server was having a problem, so I could not check the same in last 4 days. Now coming to the point....
    I changed Process web service by changing authentication type as "Usernname token profile". I have not checked "Required HTTP Basic Authentication". As you said, WSDL got changed, it has removed startSession(). But when I invoke my actual operation, I am supposed to send authentication data (user name & password) in header.
    I tried to send correct authentication info in header. But still I am getting an exception.
    soapenv:Server.generalException - WSDoAllReceiver: Request does not contain required Security header
    I feel header might be going wrong. I have taken header format from web service guide. I am attaching the entire request message taht I am sending, please tell me where I am going wrong...
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sim="http://bea.com/albpm/Sample/SimpProc">
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wsswssecurity-secext-1.0.xsd">
    <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsu:Created> 2010-06-01T19:23:29.774Z </wsu:Created>
    <wsu:Expires> 2010-07-02T15:02:29.774Z </wsu:Expires>
    </wsu:Timestamp>
    <wsse:UsernameToken>
    <wsse:Username>bpr_user</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">bpruser12</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <sim:sayHello>
    <argInput>ss</argInput>
    </sim:sayHello>
    </soapenv:Body>
    </soapenv:Envelope>
    I cehcked with & without wsu:Timestamp. But same.....
    Please give your suggestion.
    Thanks
    Sujata

  • Error when invoking pl/sql web service from bpel

    Hi!
    I have a simple 'Hello World' pl/sql web service. When i invoke it in asynchronous BPEL process, a local WSDL file is automatically generated for the parterlink used. The process even gets successfully deployed without any warning or error. But in the BPEL console when I create an instance, its alwaya being faulted and the audit give the following error at invoke:
    "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    <remoteFault>
    <part name="code" >
    <code>Server.userException</code>
    </part>
    <part name="summary" >
    <summary>when invoking endpointAddress 'null', java.net.UnknownHostException: www.proxy.us.oracle.com</summary>
    </part>
    <part name="detail" >
    <detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.UnknownHostException: www.proxy.us.oracle.com faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: www.proxy.us.oracle.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) 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.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:155) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:117) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:158) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:450) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94) at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.collaxa.thirdparty.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2732) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NewUser-lap </detail>
    </part>
    </remoteFault>
    Can anybody please tell what could be the problem,
    Thanking in advance,
    Deepika.

    www.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file

  • Getting error while deploying a simple web services

    Hi
    i am new to web services when i am deploying the web service using
    deployment descriptor(WSDD) file using admin client i am getting the follwing error can any body help regarding this.
    Mydeployment descriptor is
    deploy.wsdd
    <deployment xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <service name="MyService" provider="java:RPC">
    <parameter name="className" value="samples.userguide.example3.MyService"/>
    <parameter name="allowedMethods" value="*"/>
    </service>
    </deployment>
    I am getting exception as
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\clas
    ses>java org.apache.axis.client.AdminClient deploy.wsdd
    Feb 5, 2008 2:34:54 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax
    .mail.internet.MimeMultipart). Attachment support is disabled.
    Processing file deploy.wsdd
    Exception: AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.ConnectException: Connection refused: connect
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Conne
    ction refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
    ketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
    ketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
    91)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
    va:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
    y.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:1792)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
    at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
    at org.apache.axis.client.AdminClient.main(AdminClient.java:463)
    {http://xml.apache.org/axis/}hostname:MUM-12016RS

    Hi Jhansi,
    Whether u create HRconnDS in ur Weblogic server
    If not create it ...
    If yes just check it out whether u gave a correct connection string for it......
    Regards,
    Suganth.G

  • 401:Unauthorized error while consuming a MOSS web service

    Hi, We are trying to cosume a Web Service from MOSS using Spring and Axis. The WSDL requires user name and password. We are passing the right credentials however we are getting the 401 error. The exact exception is provided below. Could any one advise how this can be resolved?
    java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'https://ts2amr.accenture.com/_vti_bin/Search.asmx?wsdl'.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spWSClient' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'spWebService' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spWebService' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.remoting.RemoteLookupFailureException: Failed to initialize service for JAX-RPC port [{urn:Microsoft.Search}QueryServiceSoap]; nested exception is javax.xml.rpc.ServiceException: Error processing WSDL document:
    java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'https://ts2amr.accenture.com/_vti_bin/Search.asmx?wsdl'

    I can't speak for MOSS for sure, but other Microsoft services such as MapPoint used to require Digest Authentication, which isn't quite as pervasive as Basic Authentication. You should doublecheck with the MOSS administrator about the proper credentials and access. You might even try a utility like SoapUI to see if things work from a test client before trying it on the application server.

  • Getting an error while building a sample web service

    Hi,
    I am beginner in web services and started working on a sample application in a web service tutorial.
    Build is failing in build.xml file while building sample web service using ant tool.
    antBuildfile: build.xml
    clean:
    setup:
    [mkdir] Created dir: /tmp/output/WEB-INF/classes
    [mkdir] Created dir: /tmp/client_classes
    compile.server:
    [javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
    webservice.build:
    webss.build:
    BUILD FAILED
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Can anyone look into this and let me know if you have any idea on this?
    Thanks,
    SRoop.
    Edited by: SRoop on Jun 20, 2008 9:11 AM
    Edited by: SRoop on Jun 20, 2008 9:14 AM
    Edited by: SRoop on Jun 21, 2008 5:51 AM

    Hi,
    I am beginner in web services and started working on a sample application in a web service tutorial.
    Build is failing in build.xml file while building sample web service using ant tool.
    antBuildfile: build.xml
    clean:
    setup:
    [mkdir] Created dir: /tmp/output/WEB-INF/classes
    [mkdir] Created dir: /tmp/client_classes
    compile.server:
    [javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
    webservice.build:
    webss.build:
    BUILD FAILED
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Can anyone look into this and let me know if you have any idea on this?
    Thanks,
    SRoop.
    Edited by: SRoop on Jun 20, 2008 9:11 AM
    Edited by: SRoop on Jun 20, 2008 9:14 AM
    Edited by: SRoop on Jun 21, 2008 5:51 AM

  • Error While Bursting Invoices Through Web Service

    Hi All,
    In our present implementation, we are using BI Publisher to generate pdf invoices and send them to customer through email. We have three seperate servers say server A (Billing application server running on HP Unix), server B ( File server and other batch application server which is also running on HP Unix) and server c ( BIP Server running on windows). BIP is installed in windows server but the repository and other folders of BIP are located in server B. we have installed samba in server B so that BIP can access it.
    The billing application server running on hp unix generates invoice xml. one invoice xml may ontain upto 10k invoices. We transfer this xml to server B and shedule the batch job to generate the pdf invoices. The batch job is a java applicaiton which calls BIP web services after generating xdo files and passes the file name and location to web service.
    When we perfomr this task through BIP GUI, it works fine and pdf invocies are generated. However, the webservice call fails during scheduling process and gives foloiwng error.
    Exception in thread "main" com.sun.xml.internal.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html; charset=iso-8859-1 Supported ones are: [text/xml]
    at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:116)
    at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:280)
    at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:158)
    at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
    at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:581)
    at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:540)
    at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:525)
    at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:422)
    at com.sun.xml.internal.ws.client.Stub.process(Stub.java:235)
    at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:120)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:230)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
    at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
    at $Proxy34.runReportInSession(Unknown Source)
    at com.oracle.xmlns.oxp.service.publicreportservice.ConfigHandler.runReport(ConfigHandler.java:416)
    at com.oracle.xmlns.oxp.service.publicreportservice.ReportObject.createReportResponse(ReportObject.java:39)
    at com.oracle.xmlns.oxp.service.publicreportservice.ControlFileHandler.processSchedule(ControlFileHandler.java:132)
    at com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceClient.main(PublicReportServiceClient.java:101)
    I am desperately looking for help on this and appreciate if you can spare some time to help me to find out the reason.
    Thanks
    Angshuman

    Hi All,
    Can any one help me on this please?
    Regards
    Angsuman

  • Error while testing Reliable messaging web service in OSB

    Hi
    following is the way i m doing ...
    1. i create a simple web service HelloWorld
    2.i publish and tested this webservice...it worked
    3. than i created business service in OSB and used the WSDL of the above webservice
    4. i created proxy service linked to above business service ,i used protocol as "WS" and attach defaultreliabilty policy to this proxy service
    5.now when i exported the wsdl of above proxy and tried to using SOAPUI and passing WS-reliable Msg header it is giving following error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>String index out of range: -6
    </faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.StringIndexOutOfBoundsException: String index out of range: -6
         at java.lang.String.substring(String.java:1938)
         at weblogic.wsee.cluster.ForwardingHandler.handleRequest(ForwardingHandler.java:146)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    The request for above response is:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://docs.oasis-open.org/ws-rx/wsrm/200702" xmlns:ns2="http://com/">
    <env:Header>
    <ns1:Sequence>
    <ns1:Identifier>uuid:821e592a-2eef-4332-aed9-767177d62559</ns1:Identifier>
    <ns1:MessageNumber>5454</ns1:MessageNumber>
    </ns1:Sequence>
    </env:Header>
    <env:Body>
    <ns2:getWelcome>
    <arg0>5</arg0>
    </ns2:getWelcome>
    </env:Body>
    </env:Envelope>
    Do any one what is the problem???????????

    can you try to add 'transport headers' to the route of the business service, and select the checkbox ''Pass all Headers'
    and test again

  • Error while running PL/SQL Web Service in JDeveloper

    Hi,
    I am trying to run a PL/SQL Webservice example available on OTN site. Below mentioned error is occurring when running the program:
    *************** Error Stack Begin **********************
    D:\DevSuiteHome_1\jdk\bin\javaw.exe -ojvm -classpath D:\DevSuiteHome_1\jdev\mywork\WebServiceOBE\PLSQLWebService\classes;D:\DevSuiteHome_1\sqlj\lib\runtime12ee.jar;D:\DevSuiteHome_1\jdbc\lib\classes12.jar;D:\DevSuiteHome_1\jdbc\lib\nls_charset12.jar;D:\DevSuiteHome_1\jdev\lib\jdev-rt.jar;D:\DevSuiteHome_1\soap\lib\soap.jar;D:\DevSuiteHome_1\lib\xmlparserv2.jar;D:\DevSuiteHome_1\jlib\javax-ssl-1_2.jar;D:\DevSuiteHome_1\jlib\jssl-1_2.jar;D:\DevSuiteHome_1\j2ee\home\lib\activation.jar;D:\DevSuiteHome_1\j2ee\home\lib\mail.jar;D:\DevSuiteHome_1\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=instpisa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.sierraopt.com|nshore|localhost|127.0.0.1 mypackage2.MyWebService1Stub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resource /WebServiceOBE-PLSQLWebService-context-root/MyWebService1 not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
         at org.apache.soap.rpc.Call.invoke(Call.java:268)
         at mypackage2.MyWebService1Stub.getEmp(MyWebService1Stub.java:86)
         at mypackage2.MyWebService1Stub.main(MyWebService1Stub.java:40)
    Process exited with exit code 0.
    *************** Error Stack End **********************
    Please would anyone help me by providing clues to resolve this issue.
    Thank you.
    Regards,
    Balu

    Thanks Frank.
    In my function package i create xml use dbms_xmldom. I save created xml into clob and return this clob in function.
    Now I want create web service that return my clob(xml).
    I try use JDevelper with PL/SQL Web Service Wizard.
    But I get wrong result (see in my first post).
    My Example xml in clob
    <test>"testvalue"</test>
    I want get responce
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result><test>"testvalue"</test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    But I get
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result>& lt;test>&amp;quot;testvalue&amp;quot;& lt;/test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    Can you advice something?
    Edited by: user10707438 on 28.10.2010 1:14
    Edited by: user10707438 on 28.10.2010 1:27

  • Error while executing Secure SOAP web service from Web Service Navigator

    Hi All,
    I have created a web service for a stateless session bean choosing option "Secure SOAP".
    When I am testing it through web service navigator, it is showing following error:-
    Security: Authentication expected but missing
    And in response text it is showing following :-
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Wed, 17 Dec 2008 05:42:10 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
    <SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Security: Authentication expected but missing</faultstring><detail><ns1:com.sap.engine.interfaces.webservices.runtime.ProtocolException xmlns:ns1='http://sap-j2ee-engine/error'>Security: Authentication expected but missing</ns1:com.sap.engine.interfaces.webservices.runtime.ProtocolException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Can anybody help me with above thing?
    And my second question : I have created web service with "Basic Auth SOAP" option. and while executing at web service navigator, its asking for username & password.
    What role / right should be granted to this user so as to make him able to execute this web service? This user must be a UME user, correct?
    Pls help me in resolving this.
    Thanks and regards,
    Amey Mogare

    Hi Fazal,
    I have read the thread, but my questions are still unanswered.
    1. I know how to set username and password while using "Basic Auth SOAP" protocol. But my question in this case is what are the accesses user requires to be able to execute web service.
    2. And about Secure SOAP, why is above mentioned error is appearing?
    Thanks and regards,
    Amey Mogare

Maybe you are looking for

  • HT204266 Updated and lost EVERYTHING! How do I get my data back??

    Updated to iOS 6.1.2 and lost EVERYTHING!  Apps, files, notes, 6 months of data tracking all gone and MUST have for work.  Lost some apps that iTunes doesn't have listed anymore, nor are they showing up in my purchased apps.  Again, I need these for

  • [SOLVED] (C) How do you store objects on the fly?

    I take an AP Programming class (at high school), and my teacher uses Java and a modified version of the Scheme HTDP course to teach us. I love Python for its simple effectiveness, and I love C for its power. I dislike Java, because as everyone knows,

  • Windows error when loading iTunes

    This is what the error reads "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." I sent the error report to MS and they came back with this from Apple: iTunes 6 for Windows unexpectedly quits when opened Under s

  • Code to call another Page Flow URL from one page flow URL

    Can anyone send me the code to call another pageflow url from one page flow URL.

  • Line Drawing Script on Stage doesn't work in MovieClip?

    I have a little snippet of code that allows the user to create a line with the mouse, and clears the line if they end up touching the hitbox with the mouse, while they're drawing the line. It works fine when it's just thrown onto the main timeline. H