Problem verify web services HelloWorld JAX-RPC

I have executed the tutorial Jax-RPC HelloWorld,
but when I verify the web service my browser display
A Web Service is installed at this URL.
This endpoint is incorrectly configured. Please check the location and contents of the configuration file.
which it is the problem?
you can help me?
thanks

Check if the endpoint property of the build.properties file
(ex. endpoint=...ttp://localhost:8080/SmsWSservice/SMS/SmsWSIF)
matches exactly (is case sensitive) the url pattern element content (ex. <servlet-mapping>
          <servlet-name>JAXRPCEndpoint</servlet-name>
          <url-pattern>/SMS/*</url-pattern>
     </servlet-mapping>) of the web.xml file.
In the examples above the url-pattern "SMS" must match the part of the URL between "...ttp://localhost:8080/SmsWSservice/" and the reference of the interface ("SmsWSIF).
Hope it helps

Similar Messages

  • One project with two different web services styles (JAX-RPC and JAX-WS)

    Hi theres,
    how come the same project doesn't support two different web services styles?
    First time I create a web service proxy using the wizard, the second step is to choose between JAX-RPC and JAX-WS. After that, this step is removed from the wizard and all subsquent web services are assumed to be the same style as the first one.
    Can someone explain me why?
    thanks in advance,
    Manuel Leiria

    Hi,
    yes, I think to remember that there is support for a single style only. If you need another one too then you create a new project.
    Frank

  • J2EE Web services and JAX-RPC

    Hello..
    While working with J2EE web services using JDeveloper and OC4J, I noticed that it really doesn't confirm to Sun's JAX-RPC standard. The Web Service interface class does not extend the "Remote" and all methods don't throw "RemoteException" as mandated by JAX-RPC standard.
    I have few questions:
    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    (2) Does Oracle have any implementation of JAX-RPC??
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    thanks...

    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    OC4J J2EE Web Services originate from Oracle/Apache SOAP with several differences:
    a. A model where each type of implementation gets a specific servlet (e.g. one for EJB's, one for PL/SQL, one for stateless and stateful Java classes. Architecturally, you can see the picture here:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/orawebservices.htm#1024808
    (scroll down a half page for the picture)
    b. The packaging of the Web services rather than using the Apache SOAP registration mechanism uses something closer to JSR 109 (also known as Web Services for J2EE, part of J2EE 1.4 with JAX-RPC, SAAJ [SOAP API forAttachments in Java] and JAXP [Java API for XML Parsing]), where the Web service is packaged as an ordinary ear file for deployment.
    Oracle built this implementation by extrapolating from the JAX-RPC documentation that was available last year before it was a final specification in an effort to release a production quality Web services implementation that was aligned with JAX-RPC. It has been through two releases - Oracle9iAS 9.02 and Oracle9iAS 9.0.3 and is now being evolved to JAX-RPC as we move to J2EE 1.4.
    (2) Does Oracle have any implementation of JAX-RPC??
    We are planning to release a JAX-RPC implementation in the new year (I don't have specific dates yet) on OC4J. The production implementation of this will be as seamless a migration as possible from the existing implementation. Oracle9i JDeveloper will also add support for JAX-RPC as a 3rd option in its list of choices available. You can get a sense of how such a migration would work by running the Web services wizard in JDev for Apache SOAP and then, in a separate project, running it for Oracle9iAS J2EE Web Services - imagine there being another option for JAX-RPC. The work to migrate should be as simple as running a wizard or command line utility (known as the Web Services Assembler tool in Oracle9iAS).
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    Pretty much every one in the Java side of industry will be implementing JAX-RPC. The important time to note is when J2EE 1.4 is released ... sometime in the new year ... I believe around March but may be mistaken. Part of J2EE 1.4 is required support for JAX-RPC, SAAJ, Web Services for J2EE etc etc. This will standardize the implementation of Web services. Oracle, like others in the industry, supports the standard protocols, (SOAP), interfaces (WSDL) and registries (UDDI) - what J2EE 1.4 does is standardize the packaging, deployment and implementation (the wrappers generated by the tooling).
    My guess is that around JavaOne (June 2003) there will be a rash of announcements from J2EE vendors announcing support of JAX-RPC and J2EE 1.4 (or early implementations) as we will be in the same race that happened in 2001/2002 when J2EE 1.3 was the spec to announce implementations around.
    Mike.

  • Problem while testing a BAPI Web Servicei face this problem in web service

    i face this problem in web service bapi when i am carrying out the submit test... so can anyone help me???
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 803
    sap-srt_id: 20080610/144609/v1.00_final_6.40/DD36B8E7DE44B5F19BA900145E6770F3
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Deserialisation failed</faultstring><detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"><MainName>/1BCDWB/WSS0080610064309718000</MainName><ProgName>/1BCDWB/WSS0080610064309718000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><Caller><Class>CL_SRG_RFC_PROXY_CONTEXT</Class><Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions></Caller></n0:SimpleTransformationFault></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>

    Hi,
    since I did not find that BAPI in my system: what is the exact name?
    Did you test the BAPI directly in ABAP, i.e. function builder SE37, successfully?
    Currently it looks to me as if you did not provide sufficient business data.
    Did you specify the employee number before executing the call?

  • Web Services  No JAX-WS context information available.

    Hi Guys,
    Hope you are doing well. I need a bit of help here. I have developed a java application and I am trying to make it a web service. So can you guys help me . Whenever I try "http://localhost:9090/" I keep getting "Web Services No JAX-WS context information available." this message. I have not yet developed a client. So far I am just trying to run it as a service. Below is the code for a sample Java application. I am thinking if I can get this Java program to work then maybe I will be able to get my Java program to work.
    package Endpoint;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.Endpoint;
    @WebService
    public class Example25 {
         private String message = new String("Hello, ");
         public String sayHello(){
              return message + "Dipin" + ".";
         public static void main(String []args){
              String endpointUri = "http://localhost:9090/";
            Endpoint.publish(endpointUri, new Example25());
              //System.out.println("Service started at: " + endpointUri);
    }***********Here is the Java version I am using. ******************
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>java -version
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
    Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)
    C:\Documents and Settings\Administrator>
    **********Here is my Classpath Setting***************
    ;.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;.;
    C:\Program Files\Java\jre1.6.0_07\bin;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\mail-1.4.1.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\activation.jar;.;
    C:\generodb\antsjdbc\antsjdbc.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\metro-1_2.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\JAXWS2.1.5-20081030.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\jaxws-tools.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\*.*;.;
    C:\Program Files\Java\JavaEE5\jdk\jre\lib\javaws.jar;.;
    **********Java Program compliation and running*************
    C:\Documents and Settings\Java Samples\Example25\src>javac Endpoint/Example25.java
    C:\Documents and Settings\Java Samples\Example25\src>java Endpoint.Example25
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClas
    s
    INFO: Dynamically creating request wrapper Class Endpoint.jaxws.SayHello
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperCla
    ss
    INFO: Dynamically creating response wrapper bean Class Endpoint.jaxws.SayHelloRe
    Sponse
    Thanks and Regards,
    Dipin

    Hi Guys,
    Hope you are doing well. I need a bit of help here. I have developed a java application and I am trying to make it a web service. So can you guys help me . Whenever I try "http://localhost:9090/" I keep getting "Web Services No JAX-WS context information available." this message. I have not yet developed a client. So far I am just trying to run it as a service. Below is the code for a sample Java application. I am thinking if I can get this Java program to work then maybe I will be able to get my Java program to work.
    package Endpoint;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.Endpoint;
    @WebService
    public class Example25 {
         private String message = new String("Hello, ");
         public String sayHello(){
              return message + "Dipin" + ".";
         public static void main(String []args){
              String endpointUri = "http://localhost:9090/";
            Endpoint.publish(endpointUri, new Example25());
              //System.out.println("Service started at: " + endpointUri);
    }***********Here is the Java version I am using. ******************
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>java -version
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
    Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)
    C:\Documents and Settings\Administrator>
    **********Here is my Classpath Setting***************
    ;.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;.;
    C:\Program Files\Java\jre1.6.0_07\bin;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\mail-1.4.1.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\activation.jar;.;
    C:\generodb\antsjdbc\antsjdbc.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\metro-1_2.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\JAXWS2.1.5-20081030.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\jaxws-tools.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\*.*;.;
    C:\Program Files\Java\JavaEE5\jdk\jre\lib\javaws.jar;.;
    **********Java Program compliation and running*************
    C:\Documents and Settings\Java Samples\Example25\src>javac Endpoint/Example25.java
    C:\Documents and Settings\Java Samples\Example25\src>java Endpoint.Example25
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClas
    s
    INFO: Dynamically creating request wrapper Class Endpoint.jaxws.SayHello
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperCla
    ss
    INFO: Dynamically creating response wrapper bean Class Endpoint.jaxws.SayHelloRe
    Sponse
    Thanks and Regards,
    Dipin

  • Building web service with JAX-WS

    Hi,
    I would be to build a web service with JAX-WS and I must use the java classes of service in order to create
    web services. What possibilties exist to make this with maven2 under eclipse IDE?
    One help welcoming.
    Thanks!

    I have this document, you try to read it.
    http://www.cs.cmu.edu/~eran/lectures/TA_axis_and_deploy-Eran_Toch.ppt

  • Problem creating Web Service in 11g from PeopleSoft WSDL

    I created a Web Service in PeopleSoft (Tool 8.48 Release 9.0) from a Component Interface based on POSITION_DATA. Trying to create a web service in JDeveloper 11g to connect to this. Create a New Web Service, type Web Service Proxy. Select JAX-RPC Web Logic Style. Paste in the WSDL address (http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl). No matter what type or style I get the same error.
    The document: http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.:
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:723)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:661)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:610)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:333)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:570)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:548)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:372)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:294)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1002)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlAndMappingFilePanel.fetchWSDL(SpecifyWsdlAndMappingFilePanel.java:232)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:346)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
         at java.lang.Thread.run(Thread.java:619)
    The WSDL looks like this. When I access it directly in IE it says it is active. Any one have any thoughts?
    <?xml version="1.0"?>
    <wsdl:definitions name="CI_Z_POSITION_DATA.1" targetNamespace="http://xmlns.oracle.com/Enterprise/Tools/services/CI_Z_POSITION_DATA.1" xmlns:M264705.V1="http://xmlns.oracle.com/Enterprise/Tools/schemas/M264705.V1" xmlns:M650531.V1="http://xmlns.oracle.com/Enterprise/Tools/schemas/M650531.V1" xmlns:M970925.V1="http://xmlns.oracle.com/Enterprise/Tools/schemas/M970925.V1" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/Enterprise/Tools/services/CI_Z_POSITION_DATA.1" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy">
    <wsp:UsagePolicy wsdl:Required="true"/>
    <plnk:partnerLinkType name="CI_Z_POSITION_DATA_PartnerLinkType">
    <plnk:role name="CI_Z_POSITION_DATA_Provider">
    <plnk:portType name="tns:CI_Z_POSITION_DATA_PortType"/>
    </plnk:role>
    </plnk:partnerLinkType>
    <wsdl:types>
    <xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://xmlns.oracle.com/Enterprise/Tools/schemas/M970925.V1" schemaLocation="M970925.V1.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/Enterprise/Tools/schemas/M650531.V1" schemaLocation="M650531.V1.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/Enterprise/Tools/schemas/M264705.V1" schemaLocation="M264705.V1.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="M970925.V1">
    <wsdl:documentation>M970925</wsdl:documentation>
    <wsdl:part element="M970925.V1:Get__CompIntfc__Z_POSITION_DATA" name="parameter"/>
    </wsdl:message>
    <wsdl:message name="M650531.V1">
    <wsdl:documentation>M650531</wsdl:documentation>
    <wsdl:part element="M650531.V1:Get__CompIntfc__Z_POSITION_DATAResponse" name="parameter"/>
    </wsdl:message>
    <wsdl:message name="M264705.V1">
    <wsdl:documentation>M264705</wsdl:documentation>
    <wsdl:part element="M264705.V1:IBResponse" name="parameter"/>
    </wsdl:message>
    <wsdl:portType name="CI_Z_POSITION_DATA_PortType">
    <wsdl:operation name="CI_Z_POSITION_DATA_G">
    <wsdl:documentation>CI_Z_POSITION_DATA_G</wsdl:documentation>
    <wsdl:input message="tns:M970925.V1" name="M970925.V1"/>
    <wsdl:output message="tns:M650531.V1" name="M650531.V1"/>
    <wsdl:fault message="tns:M264705.V1" name="M264705.V1"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="CI_Z_POSITION_DATA_Binding" type="tns:CI_Z_POSITION_DATA_PortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="CI_Z_POSITION_DATA_G">
    <soap:operation soapAction="CI_Z_POSITION_DATA_G.V1" style="document"/>
    <wsp:Policy wsu:Id="UsernameTokenSecurityPolicyPasswordOptional" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsp:ExactlyOne>
    <wsp:All>
    <wsse:SecurityToken wsp:Usage="wsp:Required" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:TokenType>wsse:UserNameToken</wsse:TokenType>
    <Claims>
    <SubjectName MatchType="wsse:Exact"/>
    <UsePassword wsp:Usage="wsp:Optional"/>
    </Claims>
    </wsse:SecurityToken>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <wsdl:input name="M970925.V1">
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
    </wsdl:input>
    <wsdl:output name="M650531.V1">
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
    </wsdl:output>
    <wsdl:fault name="M264705.V1">
    <soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="M264705.V1" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="CI_Z_POSITION_DATA">
    <wsdl:documentation>CI_Z_POSITION_DATA</wsdl:documentation>
    <wsdl:port binding="tns:CI_Z_POSITION_DATA_Binding" name="CI_Z_POSITION_DATA_Port">
    <soap:address location="http://ORACLE_ENDPOINT"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Hi,
    Looking at your document URL for the WSDL, the PeopleSoft IB should contain "Service" in it's name, it looks like you are using your IB Gateway URL instead.
    This is what you posted:
    - http://xxx.com:11001/PSIGW/PeopleSoftListeningConnector/CI_Z_POSITION_DATA.1.wsdl
    Try the following and this should resolve your problem.
    - http://xxx.com:11001/PSIGW/PeopleSoftServiceListeningConnector/CI_Z_POSITION_DATA.1.wsdl
    Regards,
    Dan

  • Problem in web services wsdl file with tomcat 5

    Hi to all JGurus,
    I am sunil, i have one problem with simple web service, i made a simple web service and deployed on my tomcat 5, my tomcat showing the web service but when i click on the wsdl link it throws the exception:
    javax.servlet.ServletException: JAXRPCSERVLET35: failed to create a template object
         com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doGetDefault(JAXRPCServletDelegate.java:351)
         com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doGet(JAXRPCServletDelegate.java:157)
         com.sun.xml.rpc.server.http.JAXRPCServlet.doGet(JAXRPCServlet.java:111)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    please help me, thanks in advance.

    Hi Rama,
    I used JAX-RPC with WSDp 2.0 first i created my interface then implemented class then i have used the wscompile to generate wsdl. then i packed with jaxrpc-ri and web.xml in a war file, this raw war file i used to generate my original final war with the help of wsdeploy command.
    I deployed this file on tomcat its showing the service but while clicking on wsdl link it throws the above exception.
    Please let me know any thing else u want to know i can fwd my sample war file also to u.
    Thanks in advance.
    Sunil

  • BIweb service proxy JAX-RPC 1.1 method is not supported in WLS 8.1 clients

    Hello
    I have an application in oracle Application server and I'm migrating to weblogic 11g .
    I have used web service proxy for BIPublisher 10.1.3.4 , careated by jdeveloper web service proxy wizard , when I want using it in weblogic , In corresponding form that uses BI Publisher web service proxy , I encounter following error :
    "JAX-RPC 1.1 method is not supported in WLS 8.1 clients , if you attempting to run oc4j 10.1.3 JAX-RPC client in WLS,please see Web service Migration Guide for Instructions"
    What should I do?
    Regards
    Mehdi

    Spoke to dev and there was a bug logged, it seems to be down to Weblogic's implementation.
    +This is pure WLS issue. The root cause of this problem is that Weblogic's
    SAAJ implementation. No codechange on BIP server side
    WLS 10 ships with two SAAJ implementations. By default the buggy 9.x
    implementation is used (which lives in the package
    weblogic.webservice.core.soap), but there is a new implementation, which
    supports SAAJ 1.3 (which lives in the package weblogic.xml.saaj). I also
    checked in a debugging jsp page, which could help looking at the DEBUG
    logging to see which SAAJ implementation is used.
    JSP testpage xmlponline/wwwroot/wsclient/soapclient-wls-8270711.jsp
    To use this new version, you have to make sure setting the
    -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl
    in startWebLogic script. +
    Please give the solution a try and let me know if it works.
    Regards
    tim

  • Calling a web-service using JAX-WS client on the browser

    Hi,
    I created a basic web-service using netbeans/glassfish, which can be successfully called from a JavaFX application running stand-alone.
    But when I try to run the same JavaFX application on a browser, the web-service call does not work, and it is hard to get any information on where it is failing.
    I can see the error is a Throwable (not an Exception), but the message is null.
    What are the restrictions on being able to call a webservice using the JAX-WS libraries? Are there security issues? I am not using the javafx HTTP libraries.
    Also, if Java1.6u10 is available on the machine running the browser, do I still need to package all the JAX-WS libraries for the client?
    Any help is appreciated, even if it is just about how to track down the problem.

    Thank you very much for responding.
    There was no error due to WebService. Actually, I was using xmlbeans and I did not put those xmlbeans jar files into appropriate place. That is what caused the problem. I have solved it now and it is working fine.
    I put those xmlbeans jar files into my war file. It is working. Earlier, I had put them in tomcat 5.5's shared/lib directory. It was not working.
    Thank you once again for replying.
    Sasi.

  • Unable to call the service using JAX-RPC

    Hi,
    I created a web service in Weblogic6.1 using the ant wsgen utility.
    When i tried to invoke the service using my client program, i get the following error.
    Exception in thread "main" modeler error: model error: invalid entity name: "string" (in namespace: "http://www.w3.org/1999/XMLSchema"
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:137)
    at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:77)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:96)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:59)
    at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:44)
    at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:32)
    at JAXRPCClient.main(JAXRPCClient.java:20)
    CAUSE:
    model error: invalid entity name: "string" (in namespace: "http://www.w3.org/1999/XMLSchema")
    at com.sun.xml.rpc.processor.schema.InternalSchemaBuilder.buildTypeDefinition(InternalSchemaBuilder.java:61)
    at com.sun.xml.rpc.processor.schema.InternalSchema.findTypeDefinition(InternalSchema.java:45)
    at com.sun.xml.rpc.processor.modeler.wsdl.SchemaAnalyzer.schemaTypeToSOAPType(SchemaAnalyzer.java:66)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processSOAPOperationRPCStyle(WSDLModeler.java:592)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processSOAPOperation(WSDLModeler.java:423)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processPort(WSDLModeler.java:344)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processService(WSDLModeler.java:231)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:196)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:103)
    at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:77)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:96)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:59)
    at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:44)
    at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:32)
    at JAXRPCClient.main(JAXRPCClient.java:20)
    CAUSE:
    invalid entity name: "string" (in namespace: "http://www.w3.org/1999/XMLSchema")
    at com.sun.xml.rpc.wsdl.framework.AbstractDocument.find(AbstractDocument.java:110)
    at com.sun.xml.rpc.processor.schema.InternalSchemaBuilder.buildTypeDefinition(InternalSchemaBuilder.java:54)
    at com.sun.xml.rpc.processor.schema.InternalSchema.findTypeDefinition(InternalSchema.java:45)
    at com.sun.xml.rpc.processor.modeler.wsdl.SchemaAnalyzer.schemaTypeToSOAPType(SchemaAnalyzer.java:66)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processSOAPOperationRPCStyle(WSDLModeler.java:592)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processSOAPOperation(WSDLModeler.java:423)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processPort(WSDLModeler.java:344)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.processService(WSDLModeler.java:231)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:196)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:103)
    at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:77)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:96)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:59)
    at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:44)
    at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:32)
    at JAXRPCClient.main(JAXRPCClient.java:20)
    My wsdl file is
    - <definitions targetNamespace="java:com.mountain.molehill.ejb.controller" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:tns="java:com.mountain.molehill.ejb.controller" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    - <types>
    <schema targetNamespace="java:com.mountain.molehill.ejb.controller" xmlns="http://www.w3.org/1999/XMLSchema" />
    </types>
    - <message name="getPointBalanceRequest">
    <part name="arg0" type="xsd:string" />
    </message>
    - <message name="getPointBalanceResponse">
    <part name="return" type="xsd:string" />
    </message>
    - <portType name="WSManagerPortType">
    - <operation name="getPointBalance">
    <input message="tns:getPointBalanceRequest" />
    <output message="tns:getPointBalanceResponse" />
    </operation>
    </portType>
    - <binding name="WSManagerBinding" type="tns:WSManagerPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="getPointBalance">
    <soap:operation soapAction="urn:getPointBalance" />
    - <input>
    <soap:body use="encoded" namespace="urn:WSManager" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </input>
    - <output>
    <soap:body use="encoded" namespace="urn:WSManager" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </output>
    </operation>
    </binding>
    - <service name="WSManager">
    <documentation>todo</documentation>
    - <port name="WSManagerPort" binding="tns:WSManagerBinding">
    <soap:address location="http://blrkec17805:7001/WS/rpc_URI" />
    </port>
    </service>
    </definitions>
    Could anybody help me in resolving this problem?
    Thanks in advance,
    Rajadurai

    Hello,
    edit the wsdl file and change 'http://www.w3.org/1999/XMLSchema' to 'http://www.w3.org/2001/XMLSchema' for both xmlns:xsd and xmlns then try again.
    Andre

  • Problem deploying web service with the deploy tool (J2EE)

    Hello,
    I am trying to deploy a sample Web Service on the Sun Java System Application Server Platform Edition 8.1 2005Q1.
    I run into a deployment problem ("jaxrpc compilation exception") when I have one of the web methods declared (in the endpoint interface) to throw a service-specific exception. The problem disappears when I change the declaration to throw an Exception.
    Here is the exception class:
    public class StockNotFoundException extends Exception {
    private String message;
    public StockNotFoundException(String message) {
    super(message);
    this.message = message;
    public String getMessage() {
    return message;
    the endpoint interface:
    public interface StockServiceIF extends Remote {
    // the service methods
    public boolean sellStocks(String ticker, int quantity)
    throws RemoteException, StockNotFoundException;
    and here are the error messages I am seeing:
    in the deploy tool dialog:
    distribute: C:\Beginning J2EE 1.4\Ch13\StockServiceApp\StockServiceApp.ear
    deployment started : 0%
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Fatal Error from EJB Compiler -- jaxrpc compilation exception
    and in the server log:
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [StockServiceApp]|#]
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2005-02-01T18:30:47.936-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=12;|
    error: incorrect fault part name for fault "StockNotFoundException" of operation "sellStocks": "StockNotFoundException"|#]
    [#|2005-02-01T18:30:47.966-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 1001 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2005-02-01T18:30:47.966-0600|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- jaxrpc compilation exception
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:584)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1333)
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:340)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)
    |#]
    I would appreciate any pointers to resolving this issue.
    Thanks,
    Satyen

    Can you post the WSDL that was generated by the tool
    for this interface ?I generate the WSDL using "wscompile -define -nd . -classpath ..\build\classes -f:wsi service-config.xml", and here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="StockService" targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="StockNotFoundException">
    <sequence>
    <element name="message" type="string" nillable="true"/></sequence></complexType>
    <element name="StockNotFoundException" type="tns:StockNotFoundException"/></schema></types>
    <message name="StockServiceIF_sellStocks">
    <part name="String_1" type="xsd:string"/>
    <part name="int_2" type="xsd:int"/></message>
    <message name="StockServiceIF_sellStocksResponse">
    <part name="result" type="xsd:boolean"/></message>
    <message name="StockNotFoundException">
    <part name="StockNotFoundException" element="tns:StockNotFoundException"/></message>
    <portType name="StockServiceIF">
    <operation name="sellStocks" parameterOrder="String_1 int_2">
    <input message="tns:StockServiceIF_sellStocks"/>
    <output message="tns:StockServiceIF_sellStocksResponse"/>
    <fault name="StockNotFoundException" message="tns:StockNotFoundException"/></operation></portType>
    <binding name="StockServiceIFBinding" type="tns:StockServiceIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sellStocks">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal" namespace="urn:stockService"/></input>
    <output>
    <soap:body use="literal" namespace="urn:stockService"/></output>
    <fault name="StockNotFoundException">
    <soap:fault name="StockNotFoundException" use="literal"/></fault></operation></binding>
    <service name="StockService">
    <port name="StockServiceIFPort" binding="tns:StockServiceIFBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    ---------------------------------------------------------------------------------------------------------

  • Problem accessing web service, error 2032 Stream Error

    I'm building a small flex app hat uses two web services
    provided by the same coldfusion CFC.
    I've verified that I can successfully access the web services
    via HTTP, and one of the web services actually does work when
    called. Both return structures that contain a string var, a numeric
    var, and one or more query vars.
    Here is my web service declaration:
    quote:
    <mx:WebService id="ws"
    wsdl="https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?wsdl"
    useProxy="false">
    <mx:operation name="queryDB" result="queryDBResult()"
    fault="queryDBFault(event)">
    <mx:request>
    <RUNDATE>{cboRunDate.selectedItem.XDATE}</RUNDATE>
    <ENTITYID>{txtEntityID.text}</ENTITYID>
    <LASTNAME>{txtLastName.text}</LASTNAME>
    <FIRSTNAME>{txtFirstName.text}</FIRSTNAME>
    <MINITIAL>{txtMiddleInitial.text}</MINITIAL>
    <PRFSCHCD>{cboPreferredSchool.selectedItem.TABLKEY}</PRFSCHCD>
    <PRRECTYP>{cboRecordType.selectedItem.TABLKEY}</PRRECTYP>
    <PRFCLASS>{txtPreferredClass.text}</PRFCLASS>
    </mx:request>
    </mx:operation>
    <mx:operation name="getListData"
    result="getListDataResult()" fault="getListDataFault()"/>
    </mx:WebService>
    Sorry if the formatting sucks, I don't know how to post
    "code" here.
    Anyway, the getListData() method works fine and populates my
    list boxes. But when I call the queryDB() method, I get the
    following fault event:
    quote:
    [FaultEvent fault=[RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032: Stream Error. URL:
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"].
    URL:
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"]
    messageId="1E553B99-DF28-ED72-62B8-B84AA3919F9A" type="fault"
    bubbles=false cancelable=true eventPhase=2]
    I've looked all over the place and I can't seem to find what
    this error means. I've tried all kinds of different ways of doing
    things. Right now I'm browsing the flex app via a file URL (C:\...)
    but I tried putting it up on the server too and that didn't work
    either.
    The method call *DOES* work when called via HTTP... ie
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?method=queryDB&RUND ATE=2006-05-19&FIRSTNAME=&LASTNAME=SMITH&MINITIAL=&PRFSCHCD=&PRRECTYP=AL&PRFCLASS=&ENTITYI D=
    (You have to be logged in for that to work so you'll just
    have to trust me, it returns no records if you're not logged into
    the web site already).
    I'm totally stressing out about this because I've essentially
    spent the entire day since 8am trying to solve this. The
    application should've taken 15 minutes total.
    HELP!
    Thanks for any suggestions y'all have.
    Rick

    It means your output was not formed correctly and could not
    be parsed. set up a server side script or something to check that
    the output is indeed what you think it should be, 99% of the time i
    get thie error its due to malformed output from my webservice or
    db. Also try making an xml model of your target data to test the
    application internaly, look up model in the docs, it easy to use
    and if the model works then you know the data is faulty and you
    need to check your output and queries.

  • Problem consuming web service created by ABAP via standalone java client

    I'm trying to consume web service created by ABAP in R3 system via standalone java client. I should be getting a string reply after consumed the web service (ZSMS_INBOUND), but so far i received null. I cant find any exception or log to trace the problem. Any help would be appreciated. Is there anything wrong with my client calling the web service?
    public void myMethod{
              // TODO : Implement
              try{
                   Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
                   stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-               client=100&wsdl=1.1&mode=sap_wsdl");
                   inboundService = (ZSMS_INBOUND) stub;
                   BAPIRET2 str = inboundService.ZSMS_INBOUND(date, message, modemId, smsId, tel, time);
                   ackDeliveryArray<i> = str.toString();
              }catch (Exception e) {
                   e.printStackTrace();
    Generated following SAP help standalone proxy creation steps.
    ***files fr SEIs
    ZSMS_INBOUND.java   (interface)
    ZSMS_INBOUNDService.java  (interface)
    ZSMS_INBOUNDServiceImpl.java
    ZSMS_INBOUNDSoapBindingStub.java
    ***files fr Proxy classes
    ZSMS_INBOUND.java
    ZSMS_INBOUNDResponse.java
    BAPIRET2.java
    .... many more files
    the wsdl is as below (generated by ABAP):
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="http://www.sap.com/webas/630/soap/features/authentication/" xmlns:sap="http://www.sap.com/webas/630/wsdl/features" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char17">
    + <xsd:restriction base="xsd:string">
      <xsd:maxLength value="17" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char170">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="170" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char20">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="20" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char220">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="220" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char30">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char32">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="32" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char50">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric6">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="time">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      <xsd:pattern value="\d\d:\d\d:\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:complexType name="BAPIRET2">
    - <xsd:sequence>
      <xsd:element name="TYPE" type="tns:char1" />
      <xsd:element name="ID" type="tns:char20" />
      <xsd:element name="NUMBER" type="tns:numeric3" />
      <xsd:element name="MESSAGE" type="tns:char220" />
      <xsd:element name="LOG_NO" type="tns:char20" />
      <xsd:element name="LOG_MSG_NO" type="tns:numeric6" />
      <xsd:element name="MESSAGE_V1" type="tns:char50" />
      <xsd:element name="MESSAGE_V2" type="tns:char50" />
      <xsd:element name="MESSAGE_V3" type="tns:char50" />
      <xsd:element name="MESSAGE_V4" type="tns:char50" />
      <xsd:element name="PARAMETER" type="tns:char32" />
      <xsd:element name="ROW" type="xsd:int" />
      <xsd:element name="FIELD" type="tns:char30" />
      <xsd:element name="SYSTEM" type="tns:char10" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:element name="ZSMS_INBOUND">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="DATE" type="tns:date" />
      <xsd:element name="MESSAGE" type="tns:char170" />
      <xsd:element name="MODEMID" type="tns:char10" />
      <xsd:element name="SMSID" type="tns:char17" />
      <xsd:element name="TEL" type="tns:char20" />
      <xsd:element name="TIME" type="tns:time" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="ZSMS_INBOUNDResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="RETURN" type="tns:BAPIRET2" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="ZSMS_INBOUND">
      <wsdl:part name="parameters" element="tns:ZSMS_INBOUND" />
      </wsdl:message>
    - <wsdl:message name="ZSMS_INBOUNDResponse">
      <wsdl:part name="parameters" element="tns:ZSMS_INBOUNDResponse" />
      </wsdl:message>
    - <sap:Feature name="design_0" uri="http://www.sap.com/webas/630/soap/features/authentication/">
    - <sap:Property qname="n0:AuthenticationLevel">
      <sap:Option value="n0:None" />
      </sap:Property>
      </sap:Feature>
    - <wsdl:portType name="ZSMS_INBOUND">
      <sap:useFeature feature="tns:design_0" />
    - <wsdl:operation name="ZSMS_INBOUND">
      <wsdl:input message="tns:ZSMS_INBOUND" />
      <wsdl:output message="tns:ZSMS_INBOUNDResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZSMS_INBOUNDSoapBinding" type="tns:ZSMS_INBOUND">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="ZSMS_INBOUND">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ZSMS_INBOUNDService">
    - <wsdl:port name="ZSMS_INBOUNDSoapBinding" binding="tns:ZSMS_INBOUNDSoapBinding">
      <soap:address location="http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

    I'm now able to consume the web service, but with the error as below:
    Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    Error Message is :com/sap/guid/GUIDGeneratorFactory
    BAPIRET2 mappingInfo:
      TYPE   TYPE   false   false   11
      ID   ID   false   false   11
      NUMBER   NUMBER   false   false   11
      MESSAGE   MESSAGE   false   false   11
      LOG_NO   LOG_NO   false   false   11
      LOG_MSG_NO   LOG_MSG_NO   false   false   11
      MESSAGE_V1   MESSAGE_V1   false   false   11
      MESSAGE_V2   MESSAGE_V2   false   false   11
      MESSAGE_V3   MESSAGE_V3   false   false   11
      MESSAGE_V4   MESSAGE_V4   false   false   11
      PARAMETER   PARAMETER   false   false   11
      ROW   ROW   false   false   11
      FIELD   FIELD   false   false   11
      SYSTEM   SYSTEM   false   false   11
    My java code is :
    public class MyTest {
         public static void main(String[] args){
              try{
                             Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
                             stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100");
                             ZSMS_INBOUND inboundService = (ZSMS_INBOUND) stub;
                             BAPIRET2 str = inboundService.ZSMS_INBOUND(param1,param2,param3,param4,param5,param6);
                             System.out.println(str.toString());
                             }catch (Exception e) {
                                  e.printStackTrace();

  • Problem Deploying Web Services

    I have created a Web Service based on a pl/sql function in my database. I used the JDeveloper (10.1.3.2.0) wizard to created the web service. I used the J2EE 1.4 (JAX-RPC) Web Service wizard. The web service works fine when I access it using the OC4J container built into JDeveloper. When I deploy the Web Service to our Oracle Application Server 10.1.2.0.2 on Solaris I receive the following error when I try to access the Web Service:
    Servlet error: Error instantiating servlet 'ticketwsSoapHttpPort' (servlet class not found, make sure it exists at /u01/app/oracle/midtier/j2ee/OC4J_APPS/applications/ticketws_jax/ticketws_jax/WEB-INF/classes/ticket/TicketwsUser.class, in a jar in /u01/app/oracle/midtier/j2ee/OC4J_APPS/applications/ticketws_jax/ticketws_jax/WEB-INF/lib/, in an orion-web.xml specified classpath or global server classpath)
    I checked both paths mentioned in the error message on the server. All files seemed to be there.
    Any insight into this issue would be much appreciated.

    Hi user493481,
    I have developed a PL/SQL Web Service using JDeveloper, it is working fine on local instance, time to deloy on Application Server (Apps 11.5.10.2),
    could you post the deploying steps...
    Thanks in advance,
    Rao.

Maybe you are looking for

  • Cannot create or replace : The specified extended attribute name was invalid.

    New problem arrived today. Trying to copy a file from 10.6 server with an XP (SP3) client. I get this error: Cannot create or replace (file name here): The specified extended attribute name was invalid. The contents of the file can be copied, but not

  • How do you save "game state" so the user can continue next time?

    I'm not sure what the correct game terminology is for this, but how do you save "game state" so the user can continue next time? This seems like a pretty important feature for building some games, we don't want users to have to start over everytime.

  • Diagnostic Setup / BI System

    Hey guys, when performing the Diagnostic setup two steps do end with a warning, which unfortunatelly prevent the entire Solman Setup from beeing completed. User SMD_BI_RFC already exists in ABAP User store at ABAP Host=XXX sys=00 client=XXX User SMD_

  • Ebs 11i   error while logging in

    Hi, when i try to login to ebs 11i iam getting this error as shown below... oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = createSession(int, String)(userid=6','A26198979CC1FE7BE040A8C0E71412

  • HP Probook 6560b Graphics Card issue

    Dear all, First off... sorry for the long story... Somebody has to explain this to me as I do not know what is going on. I have a Probook 6560b laptop which has a AMD Radeon HD 7400M series graphics card.  Last saturday while I was messing around in