Problem while testing a BAPI Web Service

i face this problem in web service bapi when i am carrying out the 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>

There is SAP Note no. 830340 addressing this issue.
https://websmp106.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=830340&_NLANG=E
Pl try to apply that SupportPack and let us know the results after that.
Also pl reward points as appropriate.

Similar Messages

  • Problem while testing a ABAP Web Service

    Hello,
    I'm facing a problem while testing a webservice for the BAPI BUPA_CENTRAL_GET_DETAIL. I have opened the Web Service Home page, and I get no error. I fill in the input values and then when I send the request, I get back an error which says "Authority check failed"
    Urgent help needed..
    Thanx,
    Anupama

    you need s_service and s_object authorization objects in your role.
    its explained in this document
    section 3.1 on page 7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/92d80512-0a01-0010-32a3-cd3735bd9275
    Regards
    Raja

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

  • Error while testing Reliable messaging web service in OSB

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

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

  • Handshaking problem while invoking a secured web service

    Hi,
    I have developed a web service. I made my WLS 7.0 secured, using SSL. Also
    I made the
    my web service accessible only by https protocol. Also I configured the WLS SSL
    to have one
    way SSL. The problem is I am not able to access this web service using a swing
    client, It throws
    an exception saying some Handshaking exception. This problem occured only when
    I made
    the web service secured (https).
    Has anybody faced this problem ever?.
    For one way SSL do I need to supply any certificate file or PEM file from the
    client to the
    server?.
    Thanks,
    Anish

    Hi Anish,
    No, in this case the client is checking the cert provided by the
    server. Have you tried the flag
    -Dweblogic.webservice.client.ssl.strictcertchecking=false on the client
    side?
    Also take a look at the entry by Michael Jouravlev, on SSL "how to"
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=1910&utag=
    Have you gone through the simpleSSL example:
    http://webservice.bea.com/simpleSSL.zip
    HTHs,
    Bruce
    Anish wrote:
    >
    Hi,
    I have developed a web service. I made my WLS 7.0 secured, using SSL. Also
    I made the
    my web service accessible only by https protocol. Also I configured the WLS SSL
    to have one
    way SSL. The problem is I am not able to access this web service using a swing
    client, It throws
    an exception saying some Handshaking exception. This problem occured only when
    I made
    the web service secured (https).
    Has anybody faced this problem ever?.
    For one way SSL do I need to supply any certificate file or PEM file from the
    client to the
    server?.
    Thanks,
    Anish

  • Problem while Adding the SAP Web service in Visual Studio 2005

    Hi all,
    I have created the web service thru SOAMANAGER.
    Now I am just trying to access that web service in Visual Studio 2005.
    I am not able to access...
    Please give me the procedure , if any body knows.
    -Balajee Jeyaraj.

    - Start Tcode SOAMANAGER
    - Now it depends on your setup, you might have to press "Logon" and.......logon
    - Click tab "Business Administration"
    - Click "Web Service Administration"
    - Choose "Service" for "Search by"
    - Enter a search pattern (E g Z*) and press "Go"
    - Mark the line of your web service
    - Press "Apply Selection"
    - Click the link "Open WSDL document for selected binding"
    - your web browser opens.
    - copy and paste the link into Visual Studio.
    I'm always adding    &wsdl=1.1     at the end of the link.

  • Authentication error while testing  Fedex ship web service

    Hi , can anyone please tell me how to fix this?
    when I am testing fedex ship service getting this error
    Notifications:
    Notification no. 0:
    Severity: ERROR
    Code: 1000
    Message: Authentication Failed
    Source: prof
    I have passed all the required field.
    Thanks.

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

  • Error while testing the endpoints in Service Registry

    Hi,
    I am getting the following error while testing the endpoint in the Service Registry
    Invalid Response Code: (404) Not Found. The request URL was:"http://<server>:8000/sap/bc/srt/wsdl/bndg_DD73518A3AD471F18558001D0910D3CA/wsdl11/binding/ws_policy/document?sap-client=800". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
    I have created an Enterprise Service at the backend and have published to the Service Registry of the CE server , but while testing the endpoint in service registry i am getting error.
    Can any one please help me to solve this issue.
    Thanks & Regards,
    Hamsa Shree

    Hi hamsa,
    Have you tested the service? If It works, maybe there's something wrong with your destination configuration.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/705459a3-bf1c-2b10-8a9d-d300ada5f0fc
    You may find a solution in the above article.
    Good luck!
    Wenhao

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

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

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

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

  • Problem trying to invoke my web service

    Hi there,
    We have just been creating a very simple test web service here, basically to return the square root of the number passed to it.
    I have created this as a PL/SQL web service using JDEVELOPER 9.0.3. Using JDEVELOPER entirely I have successfully created and depoloyed the service, generated the stub and called it without any problems.
    I would now like to test calling the web service outside of Jdeveloper. So using internet explorer I generated the client stub using <url>?proxy_jar, which downloaded a .class file.
    I have tried to write a small java program to use this class to call my web service. and am getting the following errors
    C:\java>java -classpath c:\java class1 81
    Exception in thread main
    java.lang.NoClassDefFoundError: cddev.proxy.class1
    java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.
    security.ProtectionDomain)
    java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.s
    ecurity.ProtectionDomain)
    java.lang.Class java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, i
    nt, java.security.CodeSource)
    java.lang.Class java.net.URLClassLoader.defineClass(java.lang.String, sun.misc.Resource)
    java.lang.Class java.net.URLClassLoader.access$100(java.net.URLClassLoader, java.lang.String
    , sun.misc.Resource)
    java.lang.Object java.net.URLClassLoader$1.run()
    java.lang.Object java.security.AccessController.doPrivileged(java.security.PrivilegedExcepti
    onAction, java.security.AccessControlContext)
    java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
    java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
    java.lang.Class java.lang.ClassLoader.loadClassInternal(java.lang.String)
    This is the java program I am trying to run to invoke the web service.
    package cddev.proxy;
    import java.math.BigDecimal;
    public class class1 {
    public static void main(String[] args)
    try
    Square_rootProxy proxy = new Square_rootProxy();
    System.out.println(proxy.get_square_root(new BigDecimal(args[0])));
    catch(Exception ex)
    System.out.println(ex);
    We are very new to Java here, so it may well be problem there.
    Any help would really be appreciated.
    Gary

    because you have defined package in your class:
    you should have your compiled class file in c:\java\cddev\proxy
    then invoke java -cp c:\java xxxx.class

  • How to test/consume asynchronous web services in SAP?

    Hi,
    How do we test/consume asynchronous web services in SAP - either version 4.7 or ECC6.0?
    TIA,
    Regards
    Deepthi

    Go through the following link to know how to consume web services using ABAP:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3]
    Regards,
    Siva.

  • Problem in stubbing out Soap Web Service

    Hi,
    I have a problem stubbing out a SOAP web service in Flash Builder 4.  The problem is that not all the classes are created.  This happens when a base class is referenced by a method in the schema.  The classes that extends the base class do not get created.
    Here is an example: method doSomething returns a class called ResponseBase.  Even though MyResponse, which extends ResponseBase, is in a xsd which is referenced by the WSDL, MyResponse class is not created as value objects.
    Another example is: method doSomething takes a parameter called ParamClass.  ParamClass contains a property of type SomeClassBase.  MyClass which extends SomeClassBase is not created even though it is defined in an xsd.
    Does that sound like a limitation of the Flash Builder 4?  Is there another way to create the proxy classes from a web service?
    Thanks,
    Ming

    Sekar,
    I have the same problem.
    How did you change your web service as Anonymous?
    I have a user id and pwd, i tried by appending end of the service and tried with basic authentication by passing uid and pwd. No luck.
    Can you please help me how to change web service as anonymous?
    Regards,
    Sridhar

  • BAPI Web Service Context Mapping Problem

    Hello all,
                 I am developing a process consisting of an automated activity.
    This automated activity uses a logical destination for a web service call to an ECC BAPI.
    The BAPI name is 'BAPI_INQUIRY_CREATEFROMDATA2'
    Now the problem is the Output mapping in the automated activity which calls the web service for the above BAPI has the response name as 'BAPI_INQUIRY_CREATEFROMDATA2.Response'
    So when i try to map the nodes it gives me an error, 'Error at Line 2, Column 29, Found '.' after BAPI_INQUIRY_CREATEFROMDATA2'.
    Since there is no mapping i do not get the process working
    If i remove the '.' from the wsdl file source, mapping is done. But the backend service call gives an error.
    How can i solve this problem?
    Any inputs will be very helpful.

    Hello Martin,
                     thnks a ton for your replies.
    The '.' is a standard thing.
    Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
    Its what is standardly available. So i cant anything on that.
    And the response element is not below the bapi node.
    The name of the root node of the BAPI return context is
    "BAPI_INQUIRY_CREATEFROMDATA2.Response"
    This is what is causing the problem.
    Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

  • Problem testing JAXRPC based web services

    Hello,
    I have a JAXRPC based web service. The application was easily tested using earlier versions of sun java system application server.
    But when I am trying to test it using sun java Application Server 9 it is showing an error.
    Do I need to change some configurations?
    Hope to receive solutions.
    Shalmoli

    Hi Eoin,
    I had the exact problem. Struggled a lot and still couldn't figure out. I think its a problem in 8.1. Not sure. Might want to check with the support guys. If you are struck with 8.1 and still couldn't figure out, AXIS would be a option for you. Just an FYI. Thats what we are doing now.
    Luckily for us we are migrating to 9.1 and I just completed a POC for doc oriented webservices in 9.1. It works like a charm.
    Thanks and good luck
    - Aspert

Maybe you are looking for

  • To Customer Service

    This question is directly to Verizon Wireless Customer Service: I recently had to cancel my contract because my husband is in the military and we have been stationed overseas. We went in with his official orders and received receipts that each of our

  • HT2500 can i have multiple e-mail addresses with one mac account

    Can i set up multiple e-mail addresses on one mac account

  • DNG thumbnail in finder

    Does anyone have experience sorting out the issue of no thumbnails in finder/preview after exporting files as dng out of lightroom? There are several conversations in the forum about this problem, but cant seem to find a solution. Anyone know how to

  • Odd PC Firefox bug with video

    I have a strange issue that's only popping up with Firefox on a PC. If you click the following link it loads a video player that has a tabbed interface on top. As each video finishes playing it's supposed to switch to the next tab and then begin load

  • Question about MySQL, JDBC, SQLJ, Stored procedure & callable statements

    Hi, there. I'm using j2sdk1.4.1_01 and MySQL ver 12.18 Distrib 4.0.12, and when I try to install a store procedure, it throws the following message: SQLException: Stored procedures not supported: {call sqlj.install_jar('blah...blah...MyProject-200312