WSDL of ABAP Webservice correct?

I created a Web Service Definition by the inside out approach and referring to an RFC function group.
Generation worked fine and I also could configure the service via SOAMANAGER.
The generated WSDL (portType and binding) was sent to a client who tried to evaluate the WSDL.
Unfortunately it was not evaluated successfully.
Several error messages were thrown like:
Cause of error: Element <wsp:Policy> is not allowed under element <wsdl:portType>
Other causes: Following elements are expected under this position:
<wsdl:operation>
Error path  wsdl:definitions / wsdl:portType / wsp:Policy
So, I am not quite sure if the generated WSDL is syntactically correct or if the client evaluation is wrong. What does the standard say?
Thanks,
Michael

Hi michael,
Web Services
Business processes consist of individual process steps that can vary in how extensive they are. One or more functions are then assigned to these steps; an executing software component is then assigned to each function. Clearly, the heterogeneous nature of system landscapes in enterprises makes it impossible to implement all the necessary functions associated with a complete process using the same technology on the same component. A modern software infrastructure must be in the position to integrate functions, implemented on widely differing software components, in one effective complete process. Until now, the combination of different applications has largely been based on manually declared interfaces, message formats, and agreements between business partners.
Web services simplify this process. They are based on open, generally accepted standards. They enable you to combine functions in a single process, even if they are implemented in widely differing software components. Web services are standalone, executable entities that can be published, searched for, and called, across a network.
Introduction
The SAP Web Application Server implements the following basic Web services standards: eXtensible Markup Language (XML); Simple Object Access Protocol (SOAP); Web Service Definition Language (WSDL); and Universal Description, Discovery, and Integration (UDDI). 
In the documentation that follows, we assume that the reader is familiar with Web service standards and techniques. You will find a general introduction to the Web Services topic under Sun Microsystems, in the pages of W3C, and in the general explanations for standardization organization OASIS under the topic UDDI.
Integration
ABAP and Java Web Services
Enterprises can extend their solutions by using Java or ABAP Web services, or both. If your priority in programming an application is the selection of data, the integration of an ABAP Web Service could be appropriate. Conversely, if you are implementing processes that involve different business partners and systems, it may be beneficial to program in Java and integrate Java Web Services.
The Web Service Framework consists of:
·        The development environment for the ABAP Engine
·        The development environment for the J2EE Engine
·        Tools that support UDDI registration
·        A distributed, interoperable SOAP runtime (ABAP and J2EE Engine)
Processing of SOAP requests using the Internet Communication Framework
Web Services and the SAP Exchange Infrastructure
The SAP Exchange Infrastructure is a key area in SAP NetWeaver. The Exchange Infrastructure provides an open, process-oriented integration infrastructure for the unhindered flow of information and for XML-based message exchanges. Systems integrated using SAP XI exchange messages over the Integration Server.
The programming model for XI ABAP proxies and Web services has been unified. The advantage of this is that both technologies can be implemented so that they complement one another. Messages can be sent and received either using the XI runtime or the Web service runtime.
Additional proxy runtime services can be controlled using protocols that you request using a proxy method. The features you have available depend on whether you are using the Web Service Framework or the Exchange Infrastructure for communication.
Features
The ABAP Workbench offers an environment where you can publish, search for, and call Web services. It enables the SAP Web Application Server to act both as a server and client for Web services.
The Web service infrastructure enables developers to:
·    Publish independent function that were implemented as RFC-enabled function modules, function groups, BAPIs, or XI message interfaces. This includes functions available as part of mySAP.com solutions, or functions developed by customers or partners. The Web service can be used across the entire Internet using standard protocols and can easily be added to any development environment. (See also Creating a Web Service).
·    Consume Web services, regardless of where they are stored or how they are implemented. Business processes can be implemented across several systems, either within an enterprise or across several enterprises. (See also Consuming Web Services.)
Service Provider
After the functions have been implemented, a Web service interface must be created that provides a representation of the Web service for the user. This interface offers an abstraction layer and thus independence from the specific implementation used. Based on this interface, the Web service is configured and can be called at runtime. Publishing Web services in a UDDI Registry is supported by the UDDI client functions in the SAP Web AS.
Service Directory
You can store Web service definitions and released Web Services in a UDDI Registry. WSDL documents provide the basis of the Web service client, which can then be searched for in the UDDI using either a browser or the standard UDDI APIs. Web services can be published and searched for in all registries that conform to the standard. SAP also offers a public UDDI Business Registry under uddi.sap.com.
Service Requestor
The SAP Web AS allows you to integrate Web services. It can generate Web service clients from WSDL files.
Standardization and Extensibility
Web services and Web service standards develop quickly; new standards are being presented continually at standardization committees. However, these extended standards – such as security standards or additional protocols – can easily be integrated in the Web Service Framework using SAP.
Creating Web Service Physical Destinations Use
This procedure enables you to create and configure a Web service physical destination. More information: Configuration of Several Web Service Clients
You have to create and configure a Web service physical destination for every Web service logical destination available in the consumer application. You can create only one physical destination for every logical destination.
You create Web service physical destinations on the system where the client application is running. This system can be only SAP NetWeaver Application Server (AS) Java. You can create physical destinations that point to Web services available on AS ABAP, AS Java, or any external systems.
Prerequisites
&#9679;      You have access to the SAP NetWeaver Administrator of your AS Java.
&#9679;      The client application is deployed.
&#9679;      The Web service logical destinations are available in the client application and you know their names.
&#9679;      Web services are deployed and configured on the provider system.
&#9679;      You know the way in which the client application is to find Web services on the provider system:  by using WSDL, WSIL, or SR. When you use WSDL or WSIL, you have to know the correct URL to the WSDL or WSIL on the provider system.
&#9679;      If you want the client application to discover a Web service by querying the Service Registry (SR), a connection to the SR has to be configured. More information: Configuring the Services Registry.
Procedure
       1.      Log on to the SAP NetWeaver Administrator.
       2.      Choose SOA Management ® Technical Configuration ® Destination Template Management.
Alternatively, you can use the quick link /DestinationTemplates as follows:
http:// of the provider system.
                            c.      In the Hostname field, enter the name of the database host of the provider system.
                            d.      If for System, you chose ABAP, the following additional fields are available:
                                                  i.       In the Installation Number field, enter the installation number.
To check the installation number, in AS ABAP of the provider system start transaction SLICENSE.
                                                ii.       In the Client field, enter the number of the AS ABAP client in which the Web services are available.
       8.      Set the security settings for the connection.
For more information, see Recommended WS Security Scenarios.
HTTP Authentication
Option
Description
User ID/Password (Basic)
Authentication with user ID and password in HTTP header
More Information: HTTP Transport Level Authentication
User ID/Password (Digest)
Username and password based authentication, in which the password is encrypted.
More Information: Basic Authentication (User ID and Password)
X.509 Client Certificate
Authentication with an X.509 certificate using Secure Sockets Layer (SSL).
More Information: HTTP Transport Level Authentication
Logon Ticket
Authentication with SAP authentication assertion ticket in the HTTP header, which authenticates the identity of the user.
More Information: HTTP Transport Level Authentication
Message Authentication
Option
Description
User ID/Password (Basic)
Authentication with a WS-Security Username Token in the security header of the SOAP message.
More Information: WS-Security UsernameToken
User ID/Password (Digest)
Username and password based authentication, in which the password is encrypted.
More Information: Basic Authentication (User ID and Password)
X.509 Client Certificate
Authentication with an X.509 certificate using Secure Sockets Layer (SSL).
More Information: HTTP Transport Level Authentication
SAML Assertion
Authentication with a signed SAML 1.1 assertion in the message header, which authenticates the identity of the user.
More Information: SAML Token Profile
       9.      Choose Save.
Result
The destination is created and saved. You can see all destinations in the Destinations area of the Web Services Configuration: WS Destinations screen.
thanks
karthik
reward me points if usefull

Similar Messages

  • ABAP webservices using 2 wsdl

    Hi,
    SAP is  initiating a SOAP request to  DataPower ESB which gets an asynchronous  SOAP response  and gives it back to SAP.
    It is a pass through service  and there is no transformation done.
    SAP is creating ABAP webservices. The webservices are created using the request wsdl currently. Can it be done using 2 wsdl as request wsdl and response wsdls are different. Combining them is another option but later on the provider changes the wsdl , the wsdl again needs to be combined . Instead of that can we maintain 2 different wsdl one for request and one for response and create ABAP webservices.
    Kindly suggest.

    Hi,
    Since this is async communication you can make two services in ABAP using 2 different wsdl. These two wsdls are two different services (in your case).
    Regards,
    Gourav

  • ABAP webservice testing - step bye step guide

    Could any one point me to any good resource for testing an ABAP web service? What are the pre-requisites I have to check to test a web service?
    It would be great if anyone could point me to a step-by-step guide for ABAP web service testing in SAP version 7.0.
    ( As I am not a developer and new to this web service area. I do not need to develop a web service but i would like to know the steps we follow when we test a existing or custom developed web service in our systems)
    Thanks,
    Himadama

    Hi,
    The given Document is helpful to me.
    But in My ECC 6.0 SP18.WSConfig and WSADMIN Transaction codes are Absolete.
    New Transaction code SOAMANAGER We get the exposed Webservice.
    But What the Problem is We forget some things while creating Webservices.
    We are getting the Error While Testing Webservice Under Wsnavigator Of Portal.
    I Am getting Below Error
    An error has occurred. Maybe the request is not accepted by the server:
    Connection refused (errno:239)
    The above ABAPWebservice i consumed in Webdynpro.After Deploying i will get the error.
    Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZK2GenProjInfo' in interface 'z_k2_gen_proj_info'
    I Am in confused State What I Will Do.
    I Am Thinking the Webservice is not correct.
    And also We have some Internet Webservices.
    https://usint.skire.com/ws/services/mainservice?wsdl
    the above Webservice Protocol is https.
    But Our Portal Run under http.
    Thanks
    Subba Rao

  • WSDL to ABAP in 620 versus WSDL to ABAP in 640

    Can I say that
    <b>If WAS 640:</b> Then its pretty staigtforward to convert the WSDL to ABAP via proxy object generation
    but
    <b>If WAS 620</b>: Then we need to write code in XSLT which will parse the WSDL to  build the SOAP message and then the output internal table in ABAP is designed after looking at SOAP response.
    Please let me know...

    In a 6.20 system, you can use cl_http_client to consume webservice
    (/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap)
    in a 6.20 system
    1. there is not automatic proxy creation based on WSDL. you need to parse the WSDL to get the SOAP message format and other SOAP header details which you need to pass to webservice.
    2. the ws results will come in xml format and you have to write a XSLT/ST program toconvert them to ABAP format - that means you need to know the result format in advance.
    3. Also 6.20 there are some limitation like unsupported complex datatypes, etc.
    Regards
    Raja

  • JAVA webservice to ABAP Webservice

    Hi,
    There is a Webservice developed in Java and published.
    The same webservice we are now develping in ABAP. Though there is no change in the functionality of the webserice, the WSDL generated for ABAP webservice is looking different than the one for JAVA. How to resolve this issue? I do  not want to ask the service consumer to regenerate the Clinet Proxy for the new WSDL.
    Could you please help me in resolving this issue?
    Thanks & Regards,
    Kishore Babu T

    Hello Johannes,
    Which WSDL do I need ? In the wsnavigator I can choose RPC or Document, and then Default or SAP_WSDL to download the WSDLs.
    Try this: [Accessing a Service|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b8/a3cca166d440c29931c0c5494c32e5/frameset.htm]
    And do I need to publish the webservice (which I want to consume) on the Java stack ? or ist it already published when the wsnavigator can access it ? (the service resides on the Java stack, and I want to consume it from the ABAP stack from the same system)
    In short, no. You can safely use the Web service without publishing it - as Olivier explained, you need only the WSDL.
    The "publishing" term is usually used when you register (publish) a Web service in the UDDI server or the Services Registry. Publishing is only relevant if you want other people to be able to locate the registered service in the UDDI server.
    Hope this helps,
    Rossen

  • ABAP Webservice and Third Party Webservices Consume in Webdynpro

    Hi Everyone,
    My Landscape is
    ECC 6.0 SP16.
    PORTAL is Netweaver 2004s SP16
    NWDS SP14.
    I Need How To Develop Webservice From RFC's in ECC.[I Need Step By Step Documents Making Webservice From RFC].
    Because I read so many documents,Blogs But i am not getting what i want.
    What Configuration I Will Do On SOAMANAGER.
    How To Cosume in Webdynpo.
    I Exposed RFC As Webservices but When I Testing in wsnavigator
    I Am getting Below Error
    An error has occurred. Maybe the request is not accepted by the server:
    Connection refused (errno:239)
    The above ABAPWebservice i consumed in Webdynpro.After Deploying i will get the error.
    Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZK2GenProjInfo' in interface 'z_k2_gen_proj_info'
    I Am in confused State What I Will Do.
    I Am Thinking the Webservice is not correct.
    And also We have some Internet Webservices.
    https://usint.skire.com/ws/services/mainservice?wsdl
    the above Webservice Protocol is https.
    But Our Portal Run under http.
    Thanks
    Subba Rao

    Hi,
    The given Document is helpful to me.
    But in My ECC 6.0 SP18.WSConfig and WSADMIN Transaction codes are Absolete.
    New Transaction code SOAMANAGER We get the exposed Webservice.
    But What the Problem is We forget some things while creating Webservices.
    We are getting the Error While Testing Webservice Under Wsnavigator Of Portal.
    I Am getting Below Error
    An error has occurred. Maybe the request is not accepted by the server:
    Connection refused (errno:239)
    The above ABAPWebservice i consumed in Webdynpro.After Deploying i will get the error.
    Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZK2GenProjInfo' in interface 'z_k2_gen_proj_info'
    I Am in confused State What I Will Do.
    I Am Thinking the Webservice is not correct.
    And also We have some Internet Webservices.
    https://usint.skire.com/ws/services/mainservice?wsdl
    the above Webservice Protocol is https.
    But Our Portal Run under http.
    Thanks
    Subba Rao

  • Continous Authentication Popup for PI server while testing ABAP webservice

    Hi All,
    While testing ABAP webservice,authentication window for PI server pops up continously.
    I have created web service from SE37 for Z function module which is remote enabled.
    I can see that service and endpoint is created automatically.
    I have also given PI server credentials in SOAMANAGER->Technical Configuration->System Global settings->Access Information J2EE server.
    Can somebody please help in testing the web service created from FM.
    I have already gone through a lot of links but still need your expertise on this.
    Thanks in advace,
    Saurabh

    Hi
    Are you testing through WSNavigator. WSN  needs a java stack and  you have already set the corresponding setting.
    Please check if the User is locked.
    I think in gerenral PI credentials will be asked everytime you open WS navigator link.But once you provide the correct user it should not pop up again and u should be able to test.
    Regards.
    Srinivas

  • How to consume a ABAP webservice in a  webdynpro app?

    Hi,
    I have a BAPI in ABAP that is exposed as a webservice. I want to use this to build a webdynpro app so that i can consume this webservice. This BAPI returns the Employee data. As soon as the person logs into the portal i am going to pass his login id to this BAPI so that it retrieves the Employee data for that user id. But i need to know the procedure of consuming this webservice in a webdynpro app. Any pointers in this regard will be greatly appreciated.
    Thanks,
    Arun E V

    Hi Arun,
    Consumption of a web service is univesal I guess so it wont matter if it is an ABAP webservice. For consumtion of webservice in Web Dynpro you can go through the following tutorials
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf</a>
    Do reward points if it helps
    Regards
    Sid

  • Consuming ABAP Webservice in Webdynpro app

    Hi,
    I have wrote a webdynpro app for consuming ABAP webservice. I used the procedure in the link below
    http://wiki.sdn.sap.com/wiki/display/WDJava/ConsumingABAPWebServiceinJavaWD
    Everything seemed to be went well, I created model and Webservice destinations. I have written the code for calling the webservice, which does not return data as part of response. I mean though the RFC returns data at the backend,its not showing the returned records in the webdynpro table.
    I have also tried checking the same by setting external break point. when the webservice is executed from my webdynpro app,it goes to the ABAP debugger and i could clearly see the records in the export parameters of RFC,but the same is not returned in the reponse object.
    Could any one let me know what could be missing. Any help is greatly appreciated?
    I have used the following code in Init method of my View
    Request_ZMYRFC input=new Request_ZMYRFC (model);
    wdContext.nodeRequest_ZMYRFC ().bind(input);
    ZMYRFC  req= new ZMYRFC (model);
    req.setPUserid("EDLAS00C");
    req.setPLtc("E");
    input.setMYRFC (req);
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
        wdContext.currentRequest_ZMYRFCElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeZMYRFCResponse().invalidate();
          wdContext.nodeReturn_res().invalidate();
         wdContext.nodeItem_res_ret().invalidate();
          wdContext.nodeILtcg_res().invalidate();
          wdContext.nodeItem_res_ltcg().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Thanks
    Santhosh

    santosh,
    Check provider system defination in nwa for webservice.After this mapp the provider system and service group after wd app deployed.This is mandatory while consuming webservice in webdynpro for latest versions of CE7.11 or later.for reference check this article/document. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46
    Thanks,
    Murthy.
    Edited by: Murthy Karaka on Mar 22, 2010 12:59 PM

  • Consuming ABAP Webservice from Android device

    Dear Experts,
    I am ABAP developer (limited knowledge on android) trying to connect  Android device to a.SAP Webservice
    Through trial and error and help from SDN and Android forums i managed to link up the ABAP webservice and android using KSOAP2 API.Its working perfectly now but only when i save the username password for SAP access in the webservice settings in transaction SICF.I need to access the service by passing the username and password values through the SOAP request header but so far my efforts have failed me.im presently using the following code to pass my auth values.
    I would be grateful if you can point me in the proper direction.
           String NAMESPACE = "mynamespace (works properly without auth)";
            String METHOD_NAME = "mymethod (works properly without auth)";
            String SOAP_ACTION = "mynamespace/mymethod (works properly without auth)";
            String URL = "myURL{works properly without auth)";
            SoapObject Request = new SoapObject(NAMESPACE, METHOD_NAME);
            Request.addProperty("Purchaseorder","4500001168");
            Request.addProperty("Username", "myusername");
            Request.addProperty("Password", "mypassword");
           SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
           envelope.setOutputSoapObject(Request);
           HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
    try
               androidHttpTransport.call(SOAP_ACTION, envelope);
               SoapObject response = (SoapObject)envelope.bodyIn;
               String testValue =  response.getProperty("PoHeader").toString();
               AlertDialog alertDialog = new AlertDialog.Builder(this).create();
               alertDialog.setMessage(testValue);     
               alertDialog.show();
           catch(Exception e)
                e.printStackTrace();
    Thanx & Best Regards

    Hi,
    you can develop a custom Transport class wich extends the: HttpTransportSE class by authentication features.
    example:
    public class AuthTransportSE extends HttpTransportSE{
         private String username;
         private String password;
         public AuthTransportSE(String url, String username, String password) {
              super(url);
              this.username = username;
              this.password = password;          
         protected ServiceConnection getServiceConnection() throws IOException {
              ServiceConnection midpConnection = new ServiceConnectionSE(url);
              addBasicAuthentication(midpConnection);
              return midpConnection;
         protected void addBasicAuthentication(ServiceConnection midpConnection) throws IOException {
            if (username != null && password != null) {
                StringBuffer buf = new StringBuffer(username);
                buf.append(':').append(password);
                byte[] raw = buf.toString().getBytes();
                buf.setLength(0);
                buf.append("Basic ");
                org.kobjects.base64.Base64.encode(raw, 0, raw.length, buf);
                midpConnection.setRequestProperty("Authorization", buf.toString());
    Afterwards you can initialize the Webservice with:
    AuthTransportSE androidHttpTransport = new AuthTransportSE(URL, userName, pasword);
    Cheers,
    Dennis.

  • Error in Consuming external WSDL in ABAP

    Dear Gurus,
    I am trying to consume a WSDL in ABAP using enterprise services in SE80. After load the WSDL and making logical port, when i test the WSDL, it gives  an error : (SOAP:1.008 SRT: Couldn't create Object: ("ICF Error when creating HTTP client object by Config for U )
    Can any body tells what is the cause of this error? I tried but unable to resolve the problem. Help from integration and ABAP gurus is required. Thanks

    Hello Imran,
    Have you tried, or is it practicable for your situation, to create the consumer service and the logical port using the URL directly, instead of a local file? (as you have shown in your print, it looks to me that it's local file)
    Maybe you can check if this WS has been used normally by other consumers, or even test it with SoapUI to guarantee it is functional (also to compare the requests). You could put this WSDL under a validation tool, i know that SAP does it when the WSDL is under processing, and it goes wrong when some elements/attributes aren't supported ... and i see you could upload it successfully, but despite of it is good to double check.
    Good luck!
    Renan

  • How to use ABAP Webservice to Trigger the start of BPMN

    Hello,
    My scenario is that i define a webservice in the SAP ECC system and import it in the process composer as the service interface. As to the start event, i set the above service interface and operation as the trigger service.
    After then, i call this webservice in the user exit of a T-Code. However, the BPMN is not started by this webservice call.
    Anyone can explain on this and tell me how to use the ABAP webservice as the starting event service interface?
    Thanks in advance
    Erick

    Hi Erick,
    When you develop a process model and use some arbitrary service interface in the message start event then this will be exposed on the Java / BPM system you deploed the process definition on.
    That allows you to start the process via this web service once you know its endpoint.
    So in case you want to start your process from the ABAP side you would need to call this endpoint on the Java side out of your ABAP system.
    Simply calling the web service / code on your ABAP system and hoping that this will also invoke the Java stack won't work I AFAIK.
    Best regards,
    Martin

  • ABAP webservices

    Hi Experts,
    Can any once explain about ABAP Web services , can handles high volumes of data  and how much it is good in terms performance ?
    Which is the best one in ABAP webservices and  XI webservices?
    Regards,
    Praveen Kumar

    Hi
    Web Services Development in ABAP [original link is broken]
    https://www.sdn.sap.com/irj/sdn/webservices-elearning
    http://www.sappro.com/downloads/UDDI.pdf

  • Consume WSDL in ABAP proxy : Issue with name space

    Hi,
    I was trying to consume a WSDL in ABAP and I have created ABAP proxy using wizard in SE80 and also did the LPCONFIG.
    While calling the proxy methods it is throughing the "authrization failed" error because of the following issue.I have successfully executed same WSDL from some third party tools with out error.only difference I have observed in SOAP request is, Third party tools passing all name spaces at envelope level but in ABAP proxy it is not passing all name spaces at envelope level.
    1. SOAP genarated from WSDL in  third party tool.
    <<b>soap:Envelope</b> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="<b>http://schemas.xxxxx.com</b> ">
      <soap:Body>
        <tns:<b>GetKMContent</b>>
          <tns:request>
            <tns:clientID>1</tns:clientID>
            <tns:employeeID>307478</tns:employeeID>   
            <tns:languageCountryCode>en-US</tns:languageCountryCode>
            <tns:wscVariables>
              <tns:empcountry>US</tns:empcountry>         
            </tns:wscVariables>
          </tns:request>
        </tns:GetKMContent>
      </soap:Body>
    </soap:Envelope>
    SOAP genarated from WSDL in  ABAP proxy.
    <<b>soap-env:Envelope</b> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header>
    <n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/">
    <TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Full</TraceLevel>
    </n0:Trace></soap-env:Header>
    <soap-env:Body>
        <nr1:<b>GetKMContent</b> xmlns:nr1="<b>http://schemas.xxxxx.com</b> ">
             <nr1:request>
               <nr1:clientID>1</nr1:clientID>
               <nr1:employeeID>307478</nr1:employeeID>
               <nr1:languageCountryCode>en-US</nr1:languageCountryCode>
               <nr1:wscVariables>
               <nr1:empcountry>US</nr1:empcountry>
               </nr1:wscVariables>
            </nr1:request>
         </nr1:GetKMContent>
      </soap-env:Body>
    </soap-env:Envelope>
    I was trying to use the SOAP genarated in ABAP proxy in thrid party tool and end up with same "authrization failed " error. If I move the name space  <b>nr1</b> from <<u>nr1:GetKMContent xmlns:nr1="http://schemas.xxxxx.com "></u>  <b>GetKMContent</b> node to <b>soap-env:Envelope</b> <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nr1="http://schemas.xxxxx.com "> then it is working fine.
    Question :Is there any way in ABAP proxy to pass name space at soap-env:Envelope level or is there any way to change the SOAP request once it is genarated from ABAP Proxy?. Is there any API to change SOAP information?
    Thanks,

    Hi Kavitha,
    I am also facing the same issue.
    Could you please share the solution if you have solved this.
    Thanks,
    Arun

  • Serialisation failed  : ABAP webservices  as webdynpro model

    Hi All,
             I have created a webdynpro application consisting of a ABAP webservice model  . This webservice takes some input parameters which are  optional and give output which we are displaying as webdynpro table.. we have successfully deployed and run it on our development server .
    We have transported the EAR to Quality server after changing the target address under model> webservice> logical port corresponding to Quality webservice URL..
    But at quality server it is giving "Serialisation failed" for particular input parameter. for rest of the input parameter proper output is coming  .
    Please tell the possible solution.
    regards
    Poonam

    The input that you are trying to give might not be complaint with the data that you are providing .. go to http://server:port/wsnavigator and give the data there and test .If the data type and the length of the input parameter are not complaint with the data that you are providing u will get that error

Maybe you are looking for