Old client - new web service

Hi,
i try to migrate our old web services from axis 1.2 to a jboss web service under jbossws - native with jaxws.
the client send a string to the web service and the return value is also a string.
the old web service is rpc/encoded and the client was generated bei the axis tools.
with a few changes i can use my old client to the new web service.
but i didnt understand why i can use a rpc/encoded client to a jaxws web service using doc/lit.
so my questions are :
a) why is a jaxws web service able to read an soap-request with rpc/encoded? i thougth it is forbidden by the ws-i
b) i also hear there could be interoperability problems with rpc/encoded. why it don´t affect my web service?
we have a lot of serviceuser so it would be good if they can use their old clients.
best regards
Chris

Their old web service exposed the WSDL through a .asmx file.  The new web service exposes the WSDL though a .svc file.
That would mean that the older service was written using ASP.net web services and the newer one was written using WCF.
That's ok to me, I wanted to move up to the .NET SOAP engine anyway.
That's still likely to be a problem.  That's because the .Net SOAP engine that Classic uses is base on ASP.Net.  WCF implements a lot of web services standards that ASP.Net doesn't know how to handle.  Your best bet for consuming a WCF web service would be the WCF client in PB.Net.
Problem #2: The .NET SOAP engine seems to have a problem passing some array data.
You might try upgrading to 12.5.2  There have been continuous improvements to the .Net SOAP engine since it was first introduced.

Similar Messages

  • Content Server: News Web Service - Customization

    I have highly customized the news web service portlet. The final item on my list of customizations is to only show the "Create Article" when the user has the appropriate priveleges. How can I retrieve the user's authorization/permission level so that they will not see the "You are not authorized message" since they will never see the button?
    Thank you

    Hi ,
    Caused by: intradoc.data.DataException: !syParameterNotFound,listTemplateId
    This is the core error that is causing the issue , is there any parameter that is named "listTemplateId" ?
    Thanks
    Srinath

  • New Web Services and UDDI  Sample

    New Web Services and UDDI sample has been hosted on OTN site.
    In this sample learn how to invoke web services dynamically. You will also learn how to publish and look up Web Services registered in Oracle UDDI registry. This sample application implements an insurance portal where the user can look out for the best insurance deals.
    http://otn.oracle.com/sample_code/tech/java/web_services/content.html
    Regards
    -- Abhijeet

    bump

  • [help] how to client a Web Services server which need authenticate?

    I am programming a Web Services Client, and the Web Services need http basic authentication.
    Most of codes are generated by Netbeans from a WSDL file, but the program return me a ClientTransportException: request requires HTTP authentication: Unauthorized.
    How to write codes and where should I insert them?
    printStackTrace as follow:
    com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized
    com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:232)
    com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:151)
    com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
    com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
    com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
    com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
    com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
    com.sun.xml.ws.client.Stub.process(Stub.java:248)
    com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
    com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
    com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
    com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
    $Proxy27.zbjdaFmMd0H(Unknown Source)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:94)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:619)and my page code as follow:
    <%--
        Document   : index2
        Created on : 2008-10-13, 16:25:54
        Author     : Hawkeyes
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <h2>Hello World!</h2>
        <%-- start web service invocation --%><hr/>
        <%
        try {
         com.heliteq.wsclient.client.ZBJDAFMMD0HV1_Service service
    = new com.heliteq.wsclient.client.ZBJDAFMMD0HV1_Service();
         com.heliteq.wsclient.client.ZBJDAFMMD0HV1 port = service.getZBJDAFMMD0HV1();
          // TODO initialize WS operation arguments here
         javax.xml.ws.Holder<com.heliteq.wsclient.client.TableOfZbjdaTbMd0R> tabItab
    = new javax.xml.ws.Holder<com.heliteq.wsclient.client.TableOfZbjdaTbMd0R>();
         javax.xml.ws.Holder<com.heliteq.wsclient.client.Bapireturn> expReturn
    = new javax.xml.ws.Holder<com.heliteq.wsclient.client.Bapireturn>();
         port.zbjdaFmMd0H(tabItab, expReturn);
        } catch (Exception ex) {
         // TODO handle custom exceptions here
        %>
        <%-- end web service invocation --%><hr/>
        </body>
    </html>Edited by: Winds on Oct 16, 2008 9:49 AM

    This thread will soon be locked. You are replying to a topic which is -years- old, the person you demand help from is not going to see your cry for help.
    Create a new thread and post all relevant information that you have, including exception stacktraces that you are getting. But before that you should take a big hint from this thread; the OP found a solution. This means you should be able to find one too, if you take the time to look for it. a Google search on parts of the exception stacktrace usually lead to the answer very quickly.

  • Returning XML to client from web service

    Hi,
    I am new to developing web services using JAX_RPC. I am trying to return a xml document to the client from the web service.
    My Server implementation is as follows:
    Interface:
    public interface OntoIF extends Remote
    public DataHandler ontoCompare (String targetUrl,String sourceUrl ) throws RemoteException;
    Implementaion:
    public class OntoImpl implements OntoIF
    public DataHandler ontoCompare (String targetUrl,String sourceUrl ) throws RemoteException
    DataHandler dataHandler = new DataHandler( new StreamSource( new File ("status.xml")), "text/xml");
    return dataHandler;
    Client Implementation:
    Stub stb = (Stub) (new OntoService_Impl().getOntoIFPort());
    stb._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
         "http://localhost:8080/onto-service/onto");
    OntoIF onto = (OntoIF) stb;
    DataHandler retDHandler = onto.ontoCompare(targetOntoUrl, sourceOntoUrl);
    When I compile and run my client, it throws the following error -
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:497)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294
    at sstub.OntoIF_Stub.echoDataHandler(OntoIF_Stub.java:122)
    at sstub.OntoClient.main(OntoClient.java:63)
    Can you please let me know what I am doing wrong? I have no problems in sending a DataHandler but receiving the DataHandler from the web service throws errors.
    Thanks!

    Hi I'm having the same problem. I try to set up a Web Service using JAX_RPC. My WS should invoke a native Method implemented in C++. Did you got a solution for this issue? My Error Message is as follows:
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
         at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:497)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80)
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:489)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:122)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:86)
    at $Proxy0.getHello(Unknown Source)
         at com.neuhaus.test.ws.client.NativeInvokeClient.main(NativeInvokeClient.java:44)
    Exception in thread "main"
    greetings, JAN

  • Connecting client and web services with aqualogic

    Hello, im engineer in training period at Unilog (Lyon,France) and im tesing aqualogic for evaluation
    im nearly beginner in .NET and ESB and completely beginner in aqualogic, i have 1 problem :
    i want to test communication between my .NET client and webservice, through Aqualogic.
    i made some configuration but i wonder if its the right solution:
    i created a proxy service with a pipeline pair node and a route node directed to registered business service.
    But i dont know exactly how to connect my .NET client with aqualogic proxy service.
    My client code is :
    private void btnConnect_Click(object sender, System.EventArgs e)
    Annu.Service1 oAnnu = new Annu.Service1();
    oAnnu.Url = "http://localhost/WebService1/Service1.asmx";
    string t = oAnnu.Tel("Dupont");
    TextBox1.Text = t;
    (this client code works without aqualogic, Annu is my Web reference to my web service)
    Many thx again, cordially,
    Pascal Camellini.
    Message was edited by:
    camellini

    At the time of creating proxy service you should have filled endpoint url which is different from business service. Place the end point url of the proxy service in the client code url what you have written.
    Follow the above step it will work properly

  • "Connection refused" when using Java client for Web Service

    I deployed a web service to Weblogic Server 7.0 running on Windows 2000. I can
    use IE browser to see its WSDL perfectly but when I run the Java client, the proxy
    method call generates the following error:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:412)
    at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:390)
    at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
    ding.java:246)
    at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:34)
    at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    javax.xml.rpc.JAXRPCException: Failed to send request:java.net.ConnectException:
    Connection refused: connect
    at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:37)
    at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Exception in handler's handleRequest().
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Conn
    ection refused: connect; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    186)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:459)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)

    In your client program, when you do "new XXX_Impl(String wsdlurl)", did you
    pass in the wsdl you were hitting with browser?
    -Neal
    "Ray Yan" <[email protected]> wrote in message
    news:[email protected]...
    >
    I deployed a web service to Weblogic Server 7.0 running on Windows 2000. Ican
    use IE browser to see its WSDL perfectly but when I run the Java client,the proxy
    method call generates the following error:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:412)
    atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:390)
    atweblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
    ding.java:246)
    atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:34)
    atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    javax.xml.rpc.JAXRPCException: Failed to sendrequest:java.net.ConnectException:
    Connection refused: connect
    atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:37)
    atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Exception in handler's handleRequest().
    java.rmi.RemoteException: SOAPFault:javax.xml.rpc.soap.SOAPFaultException: Conn
    ection refused: connect; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    186)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused:connect
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:459)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)

  • Cmd-line client for web service

    Hi there,
    I'm new to Sun Java Studio, but generally familiar with the technology. So far I managed to build a web service and to register it.
    Now I would like to build a simple cmd-line client to invoke this web services. I couldn't find anything in the "documentation" or "tutorial". Does anybody has some sample code?
    Thanks,
    Andreas

    The tutorial http://www.netbeans.org/kb/50/quickstart-webservice-client.html provides a sample for developing a standalone client that consumes a webservice.
    The tutorial is for NetBeans 5.0 (http://www.netbeans.info/downloads/download.php?type=5.0) but should be applicable for JSE8 (based on NB4.1).

  • ANN: Contest open, new tutorial and new Web services software

    The OTN Web Services Challenge is now open and accepting entries. Read the details, rules and requirements at:
    http://otn.oracle.com/tech/webservices/htdocs/challenge/content.html
    You could win a Dell Notebook worth USD$5,000 :-) First 500 real entries (that is one with source code and works) will get an Oracle Press book (my understanding is that it is one on Oracle9iAS).
    There are also a number of new things also available on the OTN Web Services Center:
    - A new Oracle9i Reports tutorial at:
    http://otn.oracle.com/tech/webservices/htdocs/series/reports/content.html
    - The Oracle9iAS Containers for J2EE Developer Preview (9.0.3) now supports document style Web Services and asynchronous Web services. Read all the content off the main page in the center:
    http://otn.oracle.com/tech/webservices/
    - A new paper talking about the Java XML Pack from Sun which Oracle is iterating its Oracle9iAS implementation towards:
    http://otn.oracle.com/tech/webservices/htdocs/standards/jax.html
    Mike.

    Currently the patch is only available on MetaLink (metalink.oracle.com) which requires a support account with Oracle. The patch number is 2367149 - see this post for instructions of how to get it from MetaLink:
    Re: Database or Client Level?
    Mike.

  • Starting out with Java client for Web Services

    Hi,
    I'm new to Web Services (but not Java in general). Just looking for some pointers to get me started in the right direction.
    My pressing need is to develop a Java client for a set of Web Services described through a WSDL.
    I've found the "Chapter 12: Building Web Services With JAX-RPC" section of the Web Services Tutorial. Could someone just confirm that this is the right tutorial for me to read for my puropse.
    Also I was wondering about available tools for this purpose.
    I was expecting that there would be a tool that could read a WSDL and generate client side stubs for it automatically. (Like how you can take a Remote interface and rmic it in RMI). Is there such a thing? Is it possible?
    Preferably an open source (free) tool. I use the Netbeans IDE so if anyone knows of anything that integrates with that, all the better. I had a look at their site but couldn't see anything.
    Thanks in advance for any tips anyone can provide.

    Hi,
    I'm new to Web Services (but not Java in general).
    Just looking for some pointers to get me started in
    the right direction.
    My pressing need is to develop a Java client for a set
    of Web Services described through a WSDL.
    I've found the "Chapter 12: Building Web Services
    With JAX-RPC" section of the Web Services Tutorial.
    Could someone just confirm that this is the right
    tutorial for me to read for my puropse.Yes, that's right. It manages to say very little in very many pages.
    Also I was wondering about available tools for this
    purpose.
    I was expecting that there would be a tool that could
    read a WSDL and generate client side stubs for it
    automatically. (Like how you can take a Remote
    interface and rmic it in RMI). Is there such a thing?
    Is it possible?This is exactly what the wscompile tool (distributed with the JWS SDK 1.3) does as one of its options. See http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html for more info.

  • How to create a new web service project of Weblogic 9.2 on Eclise ?

    Dear experts,
    I have to use weblogic server 9.2.2 and eclipse as my developing environment.
    But when I execute eclipse->File->New->Project->WebLogic Web Services->Web Service Project.
    I can't see the choice for weblogic server 9.x in the Target runtime field.
    Even I download the additional server adapters, the oldest version is Oracle WebLogic Server 10gR3 (newer than 9.x).
    So, how can I create a weblogic server9.x web server project on eclipse ?
    Thanks,
    James Tung

    James,
    Which version of Eclipse are you using? Do you have Oracle Enterprise Pack for Eclipse installed? Which version?
    According to the docs, OEPE 11.1.1.6 (the latest of this post) supports WLS back to version 9.2.
    http://download.oracle.com/docs/cd/E15315_05/help/oracle.eclipse.tools.common.doc/html/index.html
    Make sure that you have a WLS 9.2 Server Runtime defined.
    Window->Prefereces->Server->Runtime Environments
    Add a BEA System, Inc WLS 9.2 server runtime and make sure it is pointing to the right place on your file system and try creating your Web Service project again.
    If you still have issues, try the OEPE forum.
    Enterprise Pack for Eclipse

  • Client triggers Web Service servlet

    Hi,
    I'm new to java enterprise app. I have to develop a web service which listens to incoming soap info and triggers a servlet to be displayed on the screen where the web service is installed. And the servlet must show the message received from soap. The problem is that I don't know how to trigger the servlet. Can anyone help me please? Thanks in advance!.
    Tobias

    Hi Martti,
    I am looking for something similar , were you able to get this to work?
    Also, how did you configure the identity assertion provider?
    Any help would be appreciated
    Thanks

  • Problem in adding a new web service provider system in NWA SOA

    Hello,
    Portal version : CE7.3 EHP1 SP9
    I am trying to add a web service system in "NWA > SOA > Technical Configuration > System Connections > Provider Systems > New".
    I have web service WSDL URL with me which is like: -
    https://webservicehostname/dswsbobje/qaawsservices/biws?WSDL=1&cuid=AfO9g_JmE0ZOiZzdvNtCbxg
    When I enter this URL in input field "WSIL URL" and click on "Next", I get error saying: -
    "Cannot connect to https://webservicehostname:443/dswsbobje/qaawsservices/biws?WSDL=1&cuid=AfO9g_JmE0ZOiZzdvNtCbxg
    HTTP Message : Unable to connect to webservicehostname:443 - Connection refused".
    (attached screenshot)
    Now, it puzzles me that why & how it is appending colon & port number in the entered URL as protocol is already https?
    Basis & network team is looking into connectivity related settings, but from my side, I wanted to answer/know why & how this port number is getting appended in entered URL and how to prevent it.
    Any ideas/help please.
    Thanks & Regards,
    Amey Mogare

    Hello Atul,
    In WSDL URL and content itself, there is no port number specified as protocol used is https.
    (screenshot).
    The problem is, after clicking on "Next", system is somehow inserting port number in between URL which it ideally should not as URL protocol is https.
    Thanks & Regards,
    Amey Mogare

  • Simple Client for web service ...Perl way

    II need to get information from a web service (with a defined WSDL)...I have been able to do that with Perl ((using SOAP:Lite) which is pretty staight forward....
    I was trying to do the same with Java ..I tried to find tutorials ...but was overwhelmed with the amount of information ..in there .(They talk about writing the server installing axis etc ..but fail interms of a simple explanation to create a simple client
    I was wondering if you could help me to get hold of a tutorial/resource which helps in simply creating a connection and getting information from the remote application...

    hi
    writing webservices using tomcat and axis is pretty easy ..... you have to create a java class to describe your service .... and save it in the axis subdirectory of tomcat .... and call the service from a client on a remote machine using the IP address and port details ...

  • Trying to make jms client inside web service

    Hi i am trying to make a jms call inside a webservice
    but whenever i try to execute the web service it gives error with following url
    http://localhost:8280/axis/services/WSTune?method=setTune&r=TUNE
    i have deploy this service on jboss and code is working properly in normal java application
    and i have also placed the jar files inside axis/web-inf/lib folder
    soapenv:Envelope>
    &#8722;
         <soapenv:Body>
    &#8722;
         <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>java.lang.reflect.InvocationTargetException</faultstring>
    &#8722;
         <detail>
    <ns1:hostname>linux</ns1:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>my code is following
    package services;
    import java.util.Properties;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.jms.Queue;
    import javax.jms.Session;
    import javax.jms.MapMessage;
    import javax.jms.TextMessage;
    import javax.jms.QueueSession;
    import javax.jms.QueueRequestor;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import com.chetu.MyStream;
    public class WSTune
         InitialContext ctx;
         Queue     queue;
         String tunedata;
            String     queueName;
            QueueConnectionFactory connFactory;
         String rid; // Request id
         public String setTune(String r)throws Exception
              rid=r;
              MyStream m=new MyStream();
              m.setData(new byte[]{'a','b'});
              System.out.println("Started WSTune");
              queueName = "queue/mytQueue";
              try {
                   System.out.println("==> 1");
                      Properties props = new Properties();
                     System.out.println("==> 2");
                         props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                         System.out.println("==> 3");
                         props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
                         System.out.println("==> 4");
                         props.setProperty("java.naming.provider.url", "127.0.0.1:1099");
                         System.out.println("==> 5");
                         ctx = new InitialContext(props);
                         System.out.println("==> 6");
                } catch (NamingException e) {
                    System.out.println("Could not create JNDI API " +
                        "context: " + e.toString());
                    System.exit(1);
                try {
                     System.out.println("==> 7");
                        Object tmp = ctx.lookup("ConnectionFactory");
                        System.out.println("==> 8");
                            System.out.println("lookup completed");
                            connFactory = (QueueConnectionFactory)tmp;
                            System.out.println("==> 9");
                         queue = (Queue) ctx.lookup(queueName);
                        System.out.println("==> 10");
                   } catch (Exception e) {
                       System.out.println("JNDI API lookup failed: " +
                           e.toString());
                       e.printStackTrace();
                       System.exit(1);
                   System.out.println("==> 11");
                    QueueConnection queueConn = connFactory.createQueueConnection();
                   /* queueConn.start();
                    QueueSession queueSession = queueConn.createQueueSession(false,Session.DUPS_OK_ACKNOWLEDGE);
                    QueueRequestor requestor = new QueueRequestor(queueSession, queue);
                    MapMessage message = queueSession.createMapMessage();
                  message.setString("ID",rid);
                    message.setString("COMMAND","TUNE");
                    TextMessage result = (TextMessage) requestor.request(message);
                    message.clearBody();
                   tunedata=result.getText();
                    queueConn.close();*/
                    System.out.println("==> 12");
                    //     return tunedata;
         return rid+"  from the WS";
    }and in tomcat log it is printing up to 7 numbers.
    Thanks in advance however its very urgent

    Hi Simon,
       Other thing you can do is compare the HTTP requests (including header) from both Delphi and XMLSPY. I suspect if the SOAP message is same in both case the difference might be in the header. But one thing is certain, WAS can not respond differently for same request, don't you think so ?
    Cheers,
    Sanjeev

Maybe you are looking for