Java client for calling a XI web service

Hello,
does anyone have created a Java client
with Apache Axis? I tried it and it works
for web service which aren't provided by
SAP XI, but if I use to call a XI web service
something went wrong.
The XI web service works. I tested it with
XML Spy.
I think there must be something special with
XI web service.
So anyone got a tutorial/guide for this???
thanks
chris

Hola mi  nombre es Luis,
Creyendo que eres español te escribo en tal idioma.
He visto que a ti también te devolvía un error de autentificación 401, y que lo subsanaste, pero a mi con la solución que te dieron no me vale, ya que implemento el código que te ofrecieron para arreglarlo y ahora me da un fallo de "Server Error" poniendo en usuario y password, los correspondientes a XI.
+Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay req=new Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay();
wdContext.nodeRequest_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay().bind(req);
req._setUser("username");
req._setPassword("password");+
No sé si es que ese usuario y contraseña son otros distintos.
Si pudieras ayudarme, te lo agradecería.
Un saludo, Luis

Similar Messages

  • Role for calling a BPM-Web Service

    Hi everybody,
    which role is neccessary in order to call a BPM-Web Service? If i add the roles "BPM End User" and "Every User core Role" i can not call my Web Service. But by adding the Group "Administrators" it works.
    Which role should i use?
    regards,
    Sid

    Check this
    Need to start process without SAP_BPM_SuperAdmin
    Anil

  • Problem in updating a java client to invoke data-secured web service

    hello
    i'm following the document 'programming weblogic web services' to use ws-security
    functionality to encrypt & digitally sign SOAP Request & Response
    and I first made a client that calls a secure weblogic web service.
    ( using a keystore having RSA key pair. )
    the code is like below -----------------------------------------------------------------
    final KeyStore keystore = loadKeystore(CLIENT_KEYSTORE, KEYSTORE_PASS);
    TestEJB_Impl service = new TestEJB_Impl("file:///C:/bea/user_projects/domains/FirstDomain/working/TestEJB_with_Security_surpport.wsdl");
    WebServiceContext context = service.context();
    System.out.println("passing context info to the client");
    X509Certificate clientcert;
    clientcert = getCertificate(CLIENT_KEYNAME, keystore);
    PrivateKey clientprivate;
    clientprivate = getPrivateKey(CLIENT_KEYNAME, CLIENT_KEYPASS, keystore);
    WebServiceSession session = context.getSession();
    session.setAttribute(WSSEClientHandler.CERT_ATTRIBUTE, clientcert);
    session.setAttribute(WSSEClientHandler.KEY_ATTRIBUTE, clientprivate);
    UserInfo ui = new UserInfo(AUTHENTICATION_USER, AUTHENTICATION_USER_PASS);
    session.setAttribute(WSSEClientHandler.REQUEST_USERINFO, ui);
    TestEJBPort port = service.getTestEJBPort();
    String result = null;
    result = port.firstMethodTest("A123");
    System.out.println(result);
    and there comes error stacktrace like below ------------------------------
    <Info> <WebService> <BEA-220024> <Handler
    weblogic.webservice.core.handler.WSSEClientHandler threw an exception from its
    h
    andleRequest method. The exception was:
    weblogic.xml.security.SecurityConfigurationException: Failed adding encryption
    t
    o request - with nested exception:
    [weblogic.xml.security.SecurityProcessingException: No keywrapping algorithm ava
    ilable for DSA keys].>
    Exception in thread "main" java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.so
    ap.SOAPFaultException: Exception during processing: weblogic.xml.security.Securi
    tyConfigurationException: Failed adding encryption to request - with nested exce
    ption:
    [weblogic.xml.security.SecurityProcessingException: No keywrapping algorithm ava
    ilable for DSA keys] (see Fault Detail for stacktrace)
    Detail:
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webse
    rvice/fault/1.0.0">
    </bea_fault:stacktrace>weblogic.xml.security.SecurityProcessingException: No
    ke
    ywrapping algorithm available for DSA keys
    at weblogic.xml.security.wsse.v200207.SecurityImpl.getWrappingAlgorithm(
    SecurityImpl.java:200)
    at weblogic.xml.security.wsse.v200207.SecurityImpl.addEncryption(Securit
    yImpl.java:175)
    at weblogic.xml.security.wsse.v200207.SecurityImpl.addEncryption(Securit
    yImpl.java:153)
    i am using RSA key pair but, when i use DSA key pair , the error message is same
    as above.
    what is problem? and what am i missing?

    Hello,
    The current implementation only supports RSA key types as legal
    wrapping. It is on the TODO list to expand this to other algorithms.
    Regards,
    Bruce
    dolso wrote:
    >
    hello
    i'm following the document 'programming weblogic web services' to use ws-security
    functionality to encrypt & digitally sign SOAP Request & Response
    and I first made a client that calls a secure weblogic web service.
    ( using a keystore having RSA key pair. )
    the code is like below -----------------------------------------------------------------
    final KeyStore keystore = loadKeystore(CLIENT_KEYSTORE, KEYSTORE_PASS);
    TestEJB_Impl service = new TestEJB_Impl("file:///C:/bea/user_projects/domains/FirstDomain/working/TestEJB_with_Security_surpport.wsdl");
    WebServiceContext context = service.context();
    System.out.println("passing context info to the client");
    X509Certificate clientcert;
    clientcert = getCertificate(CLIENT_KEYNAME, keystore);
    PrivateKey clientprivate;
    clientprivate = getPrivateKey(CLIENT_KEYNAME, CLIENT_KEYPASS, keystore);
    WebServiceSession session = context.getSession();
    session.setAttribute(WSSEClientHandler.CERT_ATTRIBUTE, clientcert);
    session.setAttribute(WSSEClientHandler.KEY_ATTRIBUTE, clientprivate);
    UserInfo ui = new UserInfo(AUTHENTICATION_USER, AUTHENTICATION_USER_PASS);
    session.setAttribute(WSSEClientHandler.REQUEST_USERINFO, ui);
    TestEJBPort port = service.getTestEJBPort();
    String result = null;
    result = port.firstMethodTest("A123");
    System.out.println(result);
    and there comes error stacktrace like below ------------------------------
    <Info> <WebService> <BEA-220024> <Handler
    weblogic.webservice.core.handler.WSSEClientHandler threw an exception from its
    h
    andleRequest method. The exception was:
    weblogic.xml.security.SecurityConfigurationException: Failed adding encryption
    t
    o request - with nested exception:
    [weblogic.xml.security.SecurityProcessingException: No keywrapping algorithm ava
    ilable for DSA keys].>
    Exception in thread "main" java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.so
    ap.SOAPFaultException: Exception during processing: weblogic.xml.security.Securi
    tyConfigurationException: Failed adding encryption to request - with nested exce
    ption:
    [weblogic.xml.security.SecurityProcessingException: No keywrapping algorithm ava
    ilable for DSA keys] (see Fault Detail for stacktrace)
    Detail:
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webse
    rvice/fault/1.0.0">
    </bea_fault:stacktrace>weblogic.xml.security.SecurityProcessingException: No
    ke
    ywrapping algorithm available for DSA keys
    at weblogic.xml.security.wsse.v200207.SecurityImpl.getWrappingAlgorithm(
    SecurityImpl.java:200)
    at weblogic.xml.security.wsse.v200207.SecurityImpl.addEncryption(Securit
    yImpl.java:175)
    at weblogic.xml.security.wsse.v200207.SecurityImpl.addEncryption(Securit
    yImpl.java:153)
    i am using RSA key pair but, when i use DSA key pair , the error message is same
    as above.
    what is problem? and what am i missing?

  • Java client failing to connect to web service - help!!

    Hi
    I have created a Web service using ASP Web Matrix, which currently resides on my C drive in c:\Service6\HelloWorld.asmx.
    The service can be tested from a browser on my local machine by calling: http://localhost/Service6/HelloWorld.asmx. This works fine, i.e. it takes a string as a parameter and returns an amended string.
    When I try to access this from a Java client I created in Netbeans, however, I get the following error message:
    Server did not recognize the value of HTTP Header SOAPAction: sayHiya.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    Can anyone advise what I am doing wrong?
    [nb. I have spent over a week trying to sort this, so I have tried!!)
    The code for the client follows:-
    // The Axis package is used to generate and handle the SOAP call
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    // The rpc package is used to create the RPC call
    import javax.xml.namespace.QName;
    import javax.xml.rpc.NamespaceConstants;
    // The java.net package gives a URL class
    import java.net.URL;
    public class HelloWorldClient {
        /** Creates a new instance of HiyaClient */
        public static void main(String[] args)
    try
    String endpoint = "http://localhost/Service6/HelloWorld.asmx";
    Service service = new Service();
    Call call = (Call) service.createCall();
    // Configure the call
    call.setTargetEndpointAddress(new URL(endpoint));
    call.setSOAPActionURI("sayHello");
    call.setEncodingStyle(NamespaceConstants.NSURI_SOAP_ENCODING);
    call.setOperationName(new QName("urn:HelloWorld", "sayHello"));
    //call.setReturnType(XMLType.XSD_STRING);
    System.out.println("**Works to here**");
    //Invoke the call
    String result = (String) call.invoke(new Object[] { "Diane" });
    System.out.println("Sent 'Diane', got '" + result + "'");
    catch(Exception e)
    System.err.println(e.toString());

    Hiya, did try that - tried
    "http://localhost:8080/HelloWorld.asmx" and
    "http://localhost:8080/Service6/HelloWorld.asmx" and it still didn't work.
    Thanks anyway.
    Anyone else got any bright ideas?

  • Help me in writing client for this JAX ws Web service

    Hi ,
    I am unable to write client for my Webservice deployed under glass fish v3 .please help.
    package jws;  
    import javax.jws.WebService;  
    import javax.jws.WebMethod;  
    import javax.jws.WebParam;  
    @WebService(name="CalculatorPortType")  
    public interface Calculator {  
        @WebMethod 
        public int add(int value1, int value2);  
    } package jws;
    import javax.jws.WebService;
    @WebService(serviceName = "Calculator",
                portName="CalculatorPort",
                endpointInterface = "jws.Calculator")
    public class CalculatorService implements Calculator {
        public int add(int value1, int value2)
             System.out.println("Inside web service class ");
            return value1 + value2;
    My client which is incomplete :please help
    import java.net.URL;
    import jws.CalculatorService;
    import jws.Calculator;
    import javax.xml.ws.Service;
    import sun.print.resources.serviceui;
    public class Hi {
    @WebServiceRef(wsdlLocation=
    "http://localhost:8089/Ram/Calculator?wsdl")
    CalculatorService service ;
    public static void main(String argsp[]) throws Exception
    } This is deployed under glassfish v3.

    When you just use the JAX-WS standard you do not need any WebLogic related classes to create a client for your web service.
    When the web service is deployed the WSDL can be accessed. By using this WSDL you can create your client by using tools
    such as wsimport (which comes with a JDK distribution and is located in the JDK_HOME/bin directory)
    wsimport -keep -d C:\YOUR_PROJECT\src http://hostname:port/context/SomeWebService?wsdlthe 'keep' option make sure the generated .java files are not thrown away.

  • Need help writing client for WSE 1.0 Web Service

    Hello all,
    I am attempting to write Java clients against a .Net service that uses WSE 1.0. I can't seem to get any of toolkits I have tried to work with this service. Unfounately, I do not own the service, so I cannot upgrade it to WSE 2.0. The problem seems to be that the WSE 1.0 expects namespaces from the July 2002 version of WS-Security, while all the libraries I have tried (JWSDP, Oracle Web Service Wizard, etc) use the oasis namepsace from January 2004.
    Can he one suggest an alternative? Is there a way to set the namespace sent in XWS-Security? I think this might solve the problem...
    Thanks,
    KS

    Hi,
    firstly JWSDP 1.5 is pretty old, the latest release of JWSDP is JWSDP 2.0 that happened late last year.
    The problem is most likely happening due to a bug in JWSDP 1.5. If you dump the Message that is going over the wire you will probably see
    SOAPAction : ""
    SOAPAction : "<the correct action value>"
    And this is the reason for the failure. I believe you are using SOAP 1.1 messages right ?
    What you will need to do is upgrade to
    JWSDP 2.0 and more important also upgrade your SAAJ jars in the JWSDP installation to SAAJ 1.3
    https://saaj.dev.java.net/files/documents/52/32730/saaj1.3.zip
    Alternatively, you can use Sun's Project Tango (Sun's Next Generation WebServices Interoperability Technology Offering) which has been tested to interoperate with Microsoft WCF.
    http://java.sun.com/developer/technicalArticles/glassfish/ProjectTango/
    You can download Project Tango by visiting the following page :
    https://wsit.dev.java.net/
    Look at the Try It section for instructions on how to use it.
    Using the Netbeans Plugin you can develop a java client which can securely communicate with the .Net WebService. All you need to do for that is use Netbeans to create a Java WebService Client by pointing it to the WSDL of the .Net Service.
    Let us know if this helped.
    Thanks...
    Message was edited by:
    kumar_at_sun

  • RUNNING PROXY CLIENT FOR X.509 CERTIFICATE WEB SERVICE THROWS SOAPFAULTEXCE

    Hi all!
    I have a problem on securing my web service.
    It's written: "Policy requires confidentialityenc key : 0"
    I found a few information here:
    https://metalink2.oracle.com/metalink/plsql/f?p=130:15:9796228426720331207::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,7260434,1,1,1,helvetica
    Is it a bug? Please advice.

    Hi Talimeren,
    when you want to use certificates you have to setup SSL which you've started already. You have to get and import a server certificate which authenticates the server while the client creates a SSL connection. The cert has to assigned to the SSL port. For NW04 you can find the guide here http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    If you want client authentication by certificates as well you have to import at least one root certificate from a certficate authority (CA) which you trust and by which all user certificates are signed.
    SAP delivers the IAIK library for WebAS security, but this depends on your WebAS version and installation. I suggest you setup SSL and try to make a connection. If the connection can be made, the security library should be there.
    HTH
    Daniel
    Message was edited by: Correct Link
            Daniel Sass

  • 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.

  • Error while running Client for accessing EJB3.0 wes service..

    Hi:
    I have created client for accessing EJB3.0 web service using Jax-ws.
    I am using JBoss server.
    But the problem is after running the client i am getting following error :
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl
         at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.<clinit>(AttachmentUnmarshallerImpl.java:55)
         at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:500)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
         at $Proxy25.celsiusToFarenheit(Unknown Source)
         at MainMethod.main(MainMethod.java:21)Can any body give me solution on this?
    Thank You.

    the problem seems to lie in a combination of JDK 6 and a specific version of SAAJ that it has integrated. Different resources on the net indicate that if you use a newer version of SAAJ, 1.3.1 or higher, it should be fixed.

  • Problems with UTL_DBWS calling out a web service.

    I´m using ORACLE 10G 10.2.0 and i ´ve downloaded the dbws-callout-utility-10R2.zip utility l´ve unziped it and launched it .
    the command loadjava -u SCOTT/passwd -r -v -f -genmissing dbwsclientws.jar dbwsclientdb102.jar ended without errors.
    then I gave grant access using the following commands
    the environment variable is
    $TMPCLASSPATH=$ORACLE_HOME/sqlj/lib/dbwsa.jar:$ORACLE_HOME/jdk/lib/dt.jar:$ORACLE_HOME/jdk/lib/tools.jar:$ORACLE_HOME/sqlj/lib/runtime12.jar:$ORACLE_HOME/sqlj/lib/translator.jar:$ORACLE_HOME/javavm/lib/aurora.zip:$ORACLE_HOME/rdbms/jlib/xdb.jar:$ORACLE_HOME/lib/xsu12.jar:$ORACLE_HOME/jlib/jndi.jar:$ORACLE_HOME/rdbms/jlib/aqapi.jar:$ORACLE_HOME/rdbms/jlib/jmscommon.jar:$ORACLE_HOME/lib/xmlparserv2.jar:$ORACLE_HOME/jlib/orai18n.jar:$ORACLE_HOME/jdbc/lib/ojdbc14.jar
    call dbms_java.grant_permission( 'SCOTT','SYS:java.lang.RuntimePermission', 'shutdownHooks', '' );
    COMMIT;
    call dbms_java.grant_permission( 'SCOTT', 'SYS:java.util.logging.LoggingPermission', 'control', '' );
    COMMIT;
    call dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'setFactory', '' );
    COMMIT;
    then I created the package running UTL_DBWS .SQL scripts
    when I run a test for calling out the web service I got the next error.
    ORA-29532: UNCAUGHT JAVA EXCEPTION : Java.Lang.IllegalAccessException: java.lang.ExceptionLnLn
    at line
    " function create_service_proxy(wsdl_Document_Location VARCHAR2, service_Name VARCHAR2) return SERVICE
    as language java 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long' "
    name 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long';
    Is necessary to install the jpublisher in addition for a sucessfully web service calling out?
    what goes wrong?
    Thanks for the soon answer.

    I have exactly the same problem.
    All possible grants are made.
    Running as SYS is not functioning as well.
    The same installation (the same jar's, the same utl_dbws version, the same database version) does function on two other (developers team's) servers .
    The differences are:
    Where it functions: Oracle database Enterprise edition on Windows (Windows 7, Vista)
    Where it does not function: Oracle database Stadard edition on Unix
    I have gone though a decent number of forums and other on-line resources with no success. Solutions available are to grant missing permissions. However these solutions are based on the assumption that under SYS user everything functions properly.
    In my case, this does not function even under SYS as SYSDBA.
    I will highly appreciate any recommendations!
    Best Regards,
    Michail
    P.S.
    Database: Oracle 10.2.0.1 Standard edition installed on Unix

  • Calling Sales Force Web-services from FMW

    Hi,
    Can anyone help me in calling Sales Force web-services from Fusion Middleware.
    I've created a web-services in Sales Force & now I want to call it from FMW. The issue is we can't directly call SF web-services. We have to first authenticate ourself on SF site with user name & password along with Security token, get the session Id & then we have to call the web-service by setting the session Id in header.
    If anyone has the PDF "salesforce-integration-fusion-middleware-twp.pdf " or any documentation on Sales Force integration with Oracle Fusion.
    Please help. Thanks in adavance.
    Edited by: Shailendra Suryawanshi on Oct 4, 2010 9:22 PM

    Hi,
    Thanks a lot for the reply & I absolutely think that's the way it should be. I've written a Java code with SF APIs to first login, get the session Id & then call the actual web-service with session Id set in header.
    But the issue I'm facing from Fusion is I don't know the web-service for authentication with valid credentials to get the session Id.
    I need the details of web-service which I should call first with my valid credentials to get the session Id so that I can pass the session Id as header parameter for calling the actual web-service.
    Looking forward to your reply desperately.
    Thanks & Regards,
    Shailendra Suryawanshi

  • Problem defining a java client on tomcat to call the esb web service

    Dear Support,
    I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine”.
    The software versions we are using :
    1 - Oracle SOA suite on 10.1.3.3 Oracle AS
    2 – Java 1.5
    3 – Tomcat 5.5
    4 – OS XP Professional

    If you have a main method in jour generated WSclient class (by the proxy) add the following code below the //add your own code:
    AddFileResponseType testResponse = myPort.addFile(testRequest);
    where AddFileResponseType is the responsetype of the WS and addFile is the method to call. this is just an example of my own webservice.
    Next stap is to put the cursor in the main method and choos debug or run.
    This should invoke the main method en call the webservice
    I hope this helps you
    Kim

  • Anybody has experience calling ID API web service in Java

    Hello,
    as you know we can programmatically update ID objects by call ID APIs (web service). To do that you need to import the wsdl into a java project, generate web service client and call the client to update ID objects.
    I've tried this in NWDS CE version. However I got error when generating web service client from the wsdl of the ID web service. Only the BusinessComponentService passed the ws client genertion, the rest web services do not work.
    The error I got:
    IWAB0399E Error in generating Java from WSDL:  java.lang.NullPointerException
        java.lang.NullPointerException
        at org.apache.axis.wsdl.toJava.JavaInterfaceWriter.writeOperation(JavaInterfaceWriter.java:126)
    Anybody has experience with ID API?
    Thanks
    Jayson

    HI Jayson,
    you can also request the web service directly.
    For example, you could create a local xml file with the values you want to pass to the web service and configure a file 2 soap scenario within XI itself.
    You can create interfaces for each available web service.
    You could call this scenario "ID objects generator" or something and save the .tpz for the repository objects of this scenario, since you could reuse it in other projects.
    Other than that, in Teched '08, Bill Li showed a lot of proxies developed over Java to consume the ID API web services, and they all seemed to work ok. However I do think he used NW Developers Studio 7.0 (2004s), not CE.
    I'd raise an OSS msg with SAP in order to check the problem you're getting.
    Regards,
    Henrique.

  • Calling a soap web service from a java desktop application

    Hi,
    Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
    Any help is greatly appreciated.
    thank you,
    Julie

    If you are the consumer you don't need any web server. The web server is only needed in the provider end.
    In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
    take a look at:
    https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
    http://java.sun.com/webservices/technologies/index.jsp
    For the provider end there is also a built in http server to expose web service via HTTP without the need to
    use any external web server.
    take a look at:
    http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html

  • Problem in calling XI generated Web Service via Java Web Dynpro

    Hi experts,
    I have problems with calling a web service, which was created by XI. I have already tested the web service with Altova XMLSpy. The Web Service works fine.
    But when embedding this web service into Java Web dynpro application no message flow is given. I have two views one Selection View and one Result View which should show the answer sent by RFC-Call.
    <b>My Settings in NWDS:</b>
    During configuration of web dynpro I have choosen 'Import adaptive Web Service Model' --> Select wsdl file via local file system --> 'no logical destinations - use WSDL URL for metadata retrieval and web service execution'.
    The model is also not shown in diagram view although I have added into the diagram.
    The web service was created on XI 7.0.
    Should I do any other settings e.g. in Visual Administrator, Web Dynpro Content Administrator?
    So can anybody help me.
    Thanks a lot.
    Regards,
    Mario

    Hi Aviad,
    thanks for your fast reply.
    But in Web Service Navigator my Web Service is not shown, because I used the SOAP Adapter.
    <b>My Web Service link:</b>
    http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:SRV_GBD_WS_GET_DEB_DETAIL:CC_GBD_WEBSERVICE_SENDER&amp;version=3.0&amp;Sender.Service=&amp;Interface=%5E*
    During executing Web Dynpro I got following errors:
    1. 'The system cannot find the path specified'.
    2. com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL
    Regards,
    Mario

Maybe you are looking for

  • Changing CD burner

    I am running OX10.2 with iTunes 6.0.1 (3). Several months ago I replaced the stock CD burner with a Pioneer superdrive. I can import songs from a CD in this drive but I cannot burn CDs. I get a message saying iTunes cannot find the burner or software

  • Nano 1.3.3 and OX 10.8.3. Can't sync my contacts and calendar

    Hello, When I connect my ipod to my system I get the following. "No calendars are available on this computer. Calendars in iCloud cannot be aynced to this iPod." I'm not trying to sync to iCloud, just my computer. Is there any way around this? Thank

  • ACCOUNTINGHOMEWORKTUTORcom, for finance homework help, Accounting Homework

    Email me your accounting homework & accounting assignments & I will send you back the solutions. In addition to Accounting homework help & accounting assignments help, I also help in online accounting exams, online accounting tests & tutoring, accoun

  • Need to reinstall Adobe Audition CS6 that I purchased

    I need to reinstall my Adobe Audition CS6 that I purchased.  How do I do that?

  • Boot vol icon "movement"

    first my configuration: ibook g4, 14-inch, 1.42 ghz ppc, 1.5gb, os 10.5.8 everything runs well. the problem is that when i move the boot volume icon anywhere around the desktop (just rearrangement) it will NOT stay in the location where i put it!!! g