Accessing a webservice

Hi,
I have a middle sized web application with standard components like database access, JSPs and Servlets. I have to extend the application now --> the application should use a web service.
My colleague developed the web service in .NET and I have the WSDL file which describes the web service. But I do not have any idea how I can get access to this web service from my Servlet. Can someone help me and explain, how I have to go on with this WSDL?
Bye,
TMKTMK

If you decided to use apache axis then you could run wsdl2java, this would give you a set of stubs based on the wsdl you used. Compiling these stubs you could then call methods on the objects, and just import the classes in your usual way.
Hope this helps a little bit.

Similar Messages

  • How to access the webservice in portal component

    hai
         how to access the webservice in portal component.
         anyone knows give the solution
    Rds
    Shanthakumar

    Hai
    Please check this link.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/connectivity&
    Regards

  • Can we access a webservice registered to OWSM gateway using java client

    Hi all,
    Can we access a webservice registered to owsm gateway using a java client.
    Thank you.

    Using com.oracle.bpel.client.Locator to obtain a connection to the BPEL PM.
    how can we invoke a web service if it is registered with OWSM is there any java api
    to do this.
    What are the possible ways we can invoke a web service registered to OWSM?

  • Getting HTTP transport error: when trying to access the webservices

    Hi,
    I have created proxy in JDeveloper 10g. When trying to access the webservices, getting the following error:
    javax.xml.rpc.soap.SOAPFaultException: exception on JaxRpc invoke: HTTP transport error:
    javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
    oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:578)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:400)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
         at com.tenncare.payment.proxy.runtime.__soap_pipe_execute_ppt_Stub.execute(__soap_pipe_execute_ppt_Stub.java:76)
         at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.execute(__soap_pipe_execute_pptClient.java:69)
         at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.main(__soap_pipe_execute_pptClient.java:43)
    Process exited with exit code 0.
    Can anyone help me what might be the reason. If you need more information, I can post it in the next.

    Hi,
    Can you just check your end point URL, and try with appending user name and password at the end of it as parrameters like http://<end point URL>&UserName=admin&Password=admin.
    Other wise check the SOAP request which is going to server using any tool as SOAP UI.
    Regards,
    Vikram

  • Accessing OBIEE Webservices under SSO Setup

    Hi All,
    We have 3 OBIEE Webservices that are Out-of-the-Box accessed by Siebel.
    SAWSessionServiceSoap - Logon (eg.) http://<hostname>:<port>/analytics/saw.dll?SoapImpl=nQSessionService
    WebCatalogServiceSoap - Web Catalog Retrival
    JobManagementServiceSoap - OBIEE related Job Execution
    Is there any setup in Siebel that needs to be done for them to work under SSO authentication.
    Thanks in Advance for your inputs.
    Thanks
    Yuvaraj

    Hi,
    We have the same issue, we are able to access the webservice when OBIEE is not enabled with SSO, but when we are trying to access the webservice with SSO, we are unable to access the webservice.
    Can you please help us in this.
    Regards
    Mani.R

  • Accessing external WebService

    HI,
    I want to access an external WebService from an EJB.
    Are there some examples for intergrating an external WebService to an EJB?
    Can somebody help?
    Thanks
    Uli

    Hi Ulrike,
    Let me axplain you in detail.
    First thing is create a Java project and in that create a standalone proxy for a web service. Now you will have all the proxy classes for using the web-service and calling its methods. Don't forget that since the web service is deployed in an external server you need to give the wsdl file for this. Now in this project, create a new class and try to call the methods of the web service. If that works fine, then create seperate methods in this class to access the webservice methods. This is so that other projects can call this class to in turn call the web service.
    Then refer this project in you EJB project. Then you can call the methods of the class in your EJB that we created in the other project.
    I think that makes it much clear
    Best regards,
    Guru.

  • Using SOAP to access middleware webservice

    URL SOAPUrl = new URL(url);
              SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
              ByteArrayInputStream stream = new ByteArrayInputStream(xml.getBytes());
              SOAPMessage message = MessageFactory.newInstance().createMessage(null,stream);
              SOAPMessage reply = con.call(message,SOAPUrl);I am using the above mentioned code to send a SOAP message object to a middleware webservice.
    But im getting the following exception:
    javax.xml.soap.SOAPException: org.xml.sax.SAXException: WSWS3357E: Error: operation description is missing parameter description.
         at com.ibm.ws.webservices.engine.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:115)Could anyone suggest me the reason for this and an apt solution?

    Hi Paul
    I have access to all the documents (JavaScript via Mozilla, Adobe JavaScript API, XFA API etc etc) but none are specific enough to cater for this issue.  I will work this out before too long but it would be very useful if someone who had done this already could shortcut my journey!
    Thanks
    Roxy

  • Problem accessing JWS webservice through BPEL

    Hi,
    I have designed a small BPEL file with which I am trying to access through the BPEL console/a java application. I am getting the following error: -
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">weblogic.wsee.codec.CodecException: Unable to find xml element for parameter: office
         at weblogic.wsee.codec.soap11.SoapDecoder.checkNullElement(SoapDecoder.java:378)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:285)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:172)
         at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:125)
         at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:180)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:139)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:40)
         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>
    I have set the transaction-timeout accordingly in the following files: -
    1) domain.xml
    2) orion-ejb-jar.xml
    3) transaction-manager.xml
    Following is the excerpt from the service: - [I am using JWS annotations]
    @WebService
    @WLHttpTransport(portName="ResponsibleOfficeSoapPort", serviceUri = "ResponsibleOfficeService")
    @WSDL(exposed=true)
    @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    public class ResponsibleOffice {
         @WebMethod
         public void addResponsibility(String office, String airline, String pRecordLocator) {
              Responsibility aResponsibility = new Responsibility();
              aResponsibility.setResponsibleOffice(office);
              aResponsibility.setResponsibleAirline(airline);
              Customer cus = new Customer();
              cus.setRecordLocator(pRecordLocator);
              cus.setReponsibility(aResponsibility);
              ResponsibilityHelper.persist(cus);
    Following the BPEL file: -
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    -->
    <process name="TestBPEL" targetNamespace="http://xmlns.oracle.com/TestBPEL"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns1="http://com/aaaa/webservices"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns3="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns2="java:com.aaaa.entities"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/TestBPEL"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:TestBPEL"
    myRole="TestBPELProvider"/>
    <partnerLink name="ResponsibleOfficeServiceDefinitions"
    partnerLinkType="ns1:ResponsibleOffice_PL"
    partnerRole="ResponsibleOffice_Role"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:TestBPELRequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:TestBPELResponseMessage"/>
    <variable name="Invoke_1_addResponsibility_InputVariable"
    messageType="ns1:addResponsibility"/>
    <variable name="Invoke_1_addResponsibility_OutputVariable"
    messageType="ns1:addResponsibilityResponse"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in TestBPEL.wsdl) -->
    <receive name="receiveInput" partnerLink="client" portType="client:TestBPEL"
    operation="process" variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <invoke name="Invoke_1" partnerLink="ResponsibleOfficeServiceDefinitions"
    portType="ns1:ResponsibleOffice" operation="addResponsibility"
    inputVariable="Invoke_1_addResponsibility_InputVariable"
    outputVariable="Invoke_1_addResponsibility_OutputVariable"/>
    <assign name="Assign_1">
    <bpelx:append>
    <bpelx:from variable="outputVariable" part="payload"
    query="/client:TestBPELProcessResponse"/>
    <bpelx:to variable="Invoke_1_addResponsibility_OutputVariable"
    part="parameters" query="/ns1:addResponsibilityResponse"/>
    </bpelx:append>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:TestBPEL"
    operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    [Info: - The Webservice is running on Weblogic 11]
    Can someone please help on this?
    Thanks.

    Your webservice seems to be throwing the error:
    Unable to find xml element for parameter: officeLooking at your BPEL process, you are assigning nothing to the inputVariable of your Invoke block, Invoke_1_addResponsibility_InputVariable. This means you are not sending any value in the office XML element.
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in TestBPEL.wsdl) -->
    <receive name="receiveInput" partnerLink="client" portType="client:TestBPEL"
    operation="process" variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <*invoke* name="Invoke_1" partnerLink="ResponsibleOfficeServiceDefinitions"
    portType="ns1:ResponsibleOffice" operation="addResponsibility"
    inputVariable="Invoke_1_addResponsibility_InputVariable"
    outputVariable="Invoke_1_addResponsibility_OutputVariable"/>
    You'll want to assign something to the variable before you invoke the servie. Otherwise, you just get the same result every time you run it.
    When you do run your process from the BPEL console, you can look on the Flow tab for that instance. Doubleclick on the INVOKE block, and you will see the XML that got sent to your web service.
    Andy

  • Problem in accessing the webservice created in XI

    Hi Experts,
             I have a WSDL file created in XI. My requirement is create an Adaptive Web Service using the WSDL file. I have created the logical destinations in the Visual Administrator under Web Services Security -> DynamicWSProxies
    <b>         one for the Metadata and the other for Destination</b>
    When creating the logical destination I have provided the URL for the XI Server in the connection setting and I have also provided the Basic Authantication User/Password
    But when I try running my application I end up in the following error
    com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: <a href="http://<Host>:<Port>/sap/xi/engine?type=entry">http://<Host>:<Port>/sap/xi/engine?type=entry</a>. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Header> </SOAP:Header> <SOAP:Body> <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Empty HTTP request received</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Empty HTTP query received; message processing not possible </SAP:Stack></SAP:Error></detail></SOAP:Fault> </SOAP:Body> </SOAP:Envelope>
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'ART_WS_TEST_DEST1' and WS interface 'SendPOItems_OUT'. One possible reason is that the metadata destination 'ART_WS_TEST_DEST1' has not been properly configured; check configuration.
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:439)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:325)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:198)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1029)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:247)
         at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
         at podetail.PoDetail.<init>(PoDetail.java:69)
         at pack.WebserviceXITrialView.wdDoInit(WebserviceXITrialView.java:100)
         at pack.wdp.InternalWebserviceXITrialView.wdDoInit(InternalWebserviceXITrialView.java:286)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         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.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         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.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: http://<Host>:<Port>/sap/xi/engine?type=entry. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Empty HTTP request received</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Empty HTTP query received; message processing not possible
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
         at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:219)
         at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:119)
         at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
         at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
         at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:111)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:428)
    Please give me a solution for this issue
    Thanks and Regards,
    Mathan MP

    Hi Sumit,
           I have used the Basic Authentication and User/Password, Destinations are fine. When I checked the log file the following was the error
    #1.5#0019BBDC2B5E006500000053000014D800043F6D2640BA96#1195637932651#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0####91d8ec42981511dcbb500019bbdc2b5e#SAPEngine_Application_Thread[impl:3]_34##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'ART_WS_TEST_DEST1' and WS interface 'SendPOItems_OUT'. One possible reason is that the metadata destination 'ART_WS_TEST_DEST1' has not been properly configured; check configuration.
    Exception id: [0019BBDC2B5E006500000051000014D800043F6D2640B4FE]#
    Please give me a solution to this
    Thanks and Regards,
    Mathan MP

  • How can i access process webservice in enterprise

    Hi,
    I have a bpm process(webserviceBPM) which is exposed as webservice, deployed project in studio embeded engine. I can access the wsdl file at http://localhost:9000/albpmServices/webserviceBPM/ws.
    Exported the same project and deployed the exp file in enterprise standalone with smart publish option. Now my bpm process is working fine but how can i access the wsdl file of the deployed process?
    Please suggest me the way to access the wsdl.
    Regards.

    Hi,
    This seems to be a recurring question across this forum. Please somebody from Oracle update the Doc team to include these details in the latest release.
    You can find the solution at this forum .Check for the last but one post.
    To launch Oracle BPM deployed Web Services [In BPM Enterprise]
    Rudraksh
    Edited by: rudraksh on Jul 30, 2009 10:46 AM

  • 401 Unauthorized Message - when trying to access asmx-webservice from a SP 2013 Workflow

    Hello everybody!
    I made a workflow for sharepoint 2013, including the "call http web service"-action. Therein I am trying to access https://mysp.com/sites/mysite/_vti_bin/lists.asmx via GET Request. So nothing fancy one might think, but somehow it is:
    I am logging the response code returned from the request which gives me a 401 unauthorized.
    It is the same with every other asmx webservice (like webpartpages.asmx or copy.asmx).
    If I GET a REST webservice like /_api/lists it works fine.
    Also if I do the same GET request to the asmx from browser or any other client (like Postman App from Google Chrome) it works fine. 
    Is there some kind of special issue when authorizing from a workflow to asmx?
    or how do I authorize my workflow against a asmx - webservice?
    My environment: I am working with Sharepoint Online 2013 and Sharepoint Designer 2013.
    Thank you for your help...

    Hi,
    For your issue, please make sure you have activated the “Workflow can use app permissions” Web-scoped feature and grant full control permissions to the workflow.
    For more information, please refer to the blog:
    http://sharepointryan.com/2013/09/10/create-a-sharepoint-site-spweb-using-rest-in-spd-2013-workflow/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Accessing the webservice hosted by BPEL(oracle 10G) from the weblogic 9.0

    Hi ,
    I have to access the funtion hosted in the webservice through BPEL system.Am using the weblogic 9.2
    i have written a build .xml to create the client jar from the WSDL.
    <project name="webservices-fusion_client" default="all">
         <!-- set global properties for this build -->
         <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask"/>
         <target name="clean">
              <delete dir="${clientclass-dir}"/>
         </target>
         <target name="all" depends="clean,build-client"/>
         <target name="build-client">
              <clientgen wsdl="http://server:20202/wsdl/?WSDL/L2COrder?WSDL" destfile="fusionclient.jar" packageName="lab.webservices.fusionclient" serviceName="L2COrder"/>
         </target>
    </project>
    while running the build .xml using "ant" command am getting this error.
    [clientgen] weblogic.wsee.tools.WsBuildException: Failed to parse WSDL
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenUtil.getJsCallbackServ
    iceName(ClientGenUtil.java:328)
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBi
    ndings(ClientGenUtil.java:184)
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenUtil.setupBuildtimeBin
    dingsFromScratch(ClientGenUtil.java:244)
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenUtil.setupService(Clie
    ntGenUtil.java:78)
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenImpl.doClientGen(Clien
    tGenImpl.java:186)
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenImpl.execute(ClientGen
    Impl.java:147)
    [clientgen] at weblogic.wsee.tools.anttasks.JwscClientGen.execute(JwscClient
    Gen.java:191)
    [clientgen] at weblogic.wsee.tools.anttasks.ClientGenTask.doClientGen(Client
    GenTask.java:198)
    [clientgen] at weblogic.wsee.tools.anttasks.ClientGenTask.execute(ClientGenT
    ask.java:172)
    [clientgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:275)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1062
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:673)
    [clientgen] at org.apache.tools.ant.Main.startAnt(Main.java:188)
    [clientgen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
    [clientgen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
    [clientgen] Caused by: weblogic.wsee.wsdl.WsdlException: role name Callback is n
    ot found.
    [clientgen] at weblogic.wsee.callback.wsdl.WsdlPartnerLinkType.getPortTypeNa
    me(WsdlPartnerLinkType.java:76)
    [clientgen] at weblogic.wsee.tools.clientgen.ClientGenUtil.getJsCallbackServ
    iceName(ClientGenUtil.java:323)
    [clientgen] ... 18 more
    BUILD FAILED
    D:\buil-jar\build.xml:17: weblogic.wsee.tools.WsBuildException: Failed to parse
    WSDL
    i have a tag named "partnerLinkType" which contains the roll name tag in WSDL file. i guess the probelm is coming here .
    <plnk:partnerLinkType name="L2C_Provisioning_Access">
              <plnk:role name="L2C_Provisioning_AccessRequester">
                   <plnk:portType name="tns:L2C_Provisioning_AccessCallback"/>
              </plnk:role>
              <plnk:role name="L2C_Provisioning_AccessProvider">
                   <plnk:portType name="tns:L2C_Provisioning_Access"/>
              </plnk:role>
         </plnk:partnerLinkType>
    can you please provide some solution here.
    Thanks in advance

    Please let me know if you want to see my WSDL file i will send it to you.

  • Weblogic 10.3 BEA  Disable Authentication for Accessing specific WebService

    Hi!
    I have established a WebService on my weblogic 10.3 BEA server, and have tried accessing it through SOAtest only to find that it gives me the error: Recieved HTTP response Code: 403 Forbidden. I appreciate that weblogic is securing my webservice ;) but in the context of what I'm doing I would like to allow anonymous access to this specific webservice. This means that I would like any client to be able to access the SOAP communications of this webservice
    Any help is greatly appreciated :)
    Ron

    <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
    <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 403--Forbidden</H2>
    </FONT></TD></TR>
    </TABLE>
    <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
    </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.4 403 Forbidden</H4>
    </FONT><P><FONT FACE="Courier New">The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.</FONT></P>
    </FONT></TD></TR>
    </TABLE>

  • Getting error response while trying to access REST webservice through Powerbuilder

    Hi Team,
    I am trying to access a rest webservice through powerbuilder 12.5(.net).The rest webservice is secured through basic authentication.I am passing the userid and password through powerbuilder to acess the service,But its returning an error .But while i am trying to accss the same REST webservice through SOAPUI, i am able to get the response.
    Please find the below line of code which i have written in powerbuilder.
    p_testcleint2 lp_rest
    string ls_string
    lp_rest=create p_testcleint2
    PBWebHttp.WebClientCredential lsCredential             //configure credentials
    lsCredential = create PBWebHttp.WebClientCredential
    lsCredential.AccessAuthentication = PBWebHttp.AuthenticationMode.Basic!
    lsCredential.Password='Pa$$word1!'
    lsCredential.Username='admin'
    lp_rest.restConnectionObject.ClientCredential = lsCredential  //add credentials to connection
    try
       lp_rest.PostMessage()
    catch (System.Exception ee)
      messagebox("Failure",string(ee.Message))
    end try
    Error i am getting as below :
    The remote server returned an error:(401) unauthorized.
    Can you please let me know why this error is coming or do i need to any extra paramert in the lsCredential to handle this.
    Thanks in advance.
    Regards
    Subrat

    Hi Chris,
    Thanks for the reply.
    Yes i checked -in fiddler, the basic authentication request is not generating in the fiddler.
    In the same Rest service if i turned off the basic authentication then call is happening in Powerbuilder and its displaying in fiddler also.
    Regards
    Subrat

  • Access Remote Webservice via Internet

    Hi all,
    Iam new to Web Services ...
    Could any of u give me an Article or Code ... how could we access a basic webservice from Java ..... which is available remotly.
    plz help me .. tks in advance...

    abp_JavaPrg@mdu wrote:
    I got the same error while I trying to connect the server in that port via ssh.I know ssh is "the new telnet", but I did not say telnet to be retro. ssh does encryption stuff, telnet does not. For checking that a port is open and (if the server sends at least the handshake in a human readable format) checking that the server you think is running is running telnet is a better option.
    From the sounds of it the application you think is running is not running.

  • Sample web service proxy for accessing secured webservice

    Hi,
    Am trying to write a web service proxy to access a secured web service.
    How do we call the web service and pass the authentication information. I generated a service proxy in jdevelopr. in the main class i set the user name and password but was still unsuccessful.
    How do we set the "UsernameToken".
    Please see the sample header that is expected.
    <soap:Header>
    <wsa:Action>http://myactaction</wsa:Action>
    <wsa:MessageID>uuid:asdfadrewrwqr</wsa:MessageID>
    <wsa:ReplyTo>
    <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
    </wsa:ReplyTo>
    <wsa:To>http://myact</wsa:To>
    <wsse:Security soap:mustUnderstand="1">
    <wsse:UsernameToken wsu:Id="SecurityToken-321321">
    <wsse:Username>mordfsafsdae</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">werwqrewrwe</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    Any Sample service proxy would be a great help.
    Thanks
    -Kiran
    Edited by: user10473085 on Oct 25, 2008 1:05 PM

    Hi Kiran,
    Here are all steps You need to do
    "Securing Web Services using JDeveloper and WS-Security" http://www.oracle.com/technology/products/jdev/101/howtos/securews/index.html
    Set username and password:
    (...)myPort= new ServicePortTypeClient(); //<- Your webservice port class
    // security
    myPort.setUsername("exampleuser");
    myPort.setPassword("examplepassword");
    You don't need to write more code in java.
    I hope it helps.
    Kind regards
    Hubert M.
    Other documents:
    "Oracle® Application Server Web Services Security Guide" http://download.oracle.com/docs/cd/B31017_01/web.1013/b28976/toc.htm

Maybe you are looking for

  • Screen freezes up--or doesn't display

    I posted before, but I didn't get any assistance. I'd appreciate any help or suggestions that you might have. The problem up to this point has been that, upon waking my computer from sleep, I'll go to click on something (i.e. the Safari icon in my to

  • How can I change the real server convergence timer in LD ?

    I have LD416(3.1.4) and configured 1*VIP and 2*Real server. looks it takes about 30 seconds to switching to the other real server when one of failure. Q) How can I reduce the the convergence time? Thanks,

  • 10.3.9  booting classic 9.2.2  on ibook G3 display  srinks

    I posted the following as a reply to someone with similar problem in" ibook dual usb display" discussions board,-to no avail except being told i may have installed the wrong OS- but thought that i may get a better response if i post it to OSX board -

  • Macintosh HD could not be verified completely

    Own a Mac air (purchased late 2012) haven't had issues until today when it would not start up.  It chimed, the grey apple appeared. Then nothing. Ran a verify disk and got a message the Hd could not be verified and error: this disk needs to be repair

  • Can Lion be installed on a 2006 plastic body iMac?

    My 2006 iMac has a 2.33 GHz Intel Core 2 Duo processor with 3 GB 667 MHz DDR2 SDRAM, the absolute limit. Can Lion be installed on such a machine, or should I be looking to buy a 2011 iMac? Thanks.