Testing WSDL

Hi,
I have a simple scenario SOAP->XI->RFC.
SAP/XI created a WSDL using option "define web service" present in integration directory.
Now I try to test this wsdl using web service navigator page.
What are the steps to use this tool?
This tool ask a WSDL URL.
What are this URL?
thanks,
Sérgio

hi,
did you have a look at this:
SAP SOAP Client Tool
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/2fad3a59-0501-0010-7a92-dc43cd1cdf19 [original link is broken]
also have a look on how you can test web services with XML spy
(Testing section)
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Similar Messages

  • Basic Authentication for load testing WSDL Web Service

    I'm trying to load test a web service; the WSDL URL is behind a username and password, using the basic http authentication. I can add the WSDL URL without issue with the username and password, but when I playback the script, I get "401 Unauthorized" errors
    I looked at Preferences > Record > Web Services > Proxy Configuration, which then refers you to Preferences > Record > HTTP > Proxy Settings. I also looked at similar settings under Preferences > Playback.
    I am running OpenScript (9.1), how do I configure this ... ?
    Many thanks!
    KM
    Edited by: KM on Sep 14, 2011 12:12 PM

    Hello
    You can right click on the initialize section of your script then:
    Add -> Other -> HTTP -> Authentication.
    You need 3 parameters:
    A url - http://someurl - that will authenticate any url that contains the http://someurl string e.g http://someurl.com/index.html
    A password
    A user
    The following code should be added in your script:
    http.addAuthentication("http://someurl", "username",
                        deobfuscate("5blNah5kX/XuZnepYwInFw=="));Hope this helps
    Alex

  • Error while testing WSDL in Altova XML spy  tool

    Experts,
        I am testing on a scenario. SOAP to Proxy synchronous. This scenario is working fine in production.I have used the HTTP security level as "HTTPS with client authentication" in SOAP adapter. I am getting the following error in Altova while testing the wsdl in Test environment. Anyone please help me out in teh below issue.
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    java.security.AccessControlException: https scheme required
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:889)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_3.process(ModuleLocalLocalObjectImpl0_3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:178)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:478)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    Thanks
    Veeru

    Vijay,
       I have tested using HTTP also but teh same error saying as HTTP schema required.
    Any other suggestions.
    Thanks
    Veeru

  • Testing  WSDL through webservice navigator

    HI All,
    Please elaborate  on how to test the WSDL link though webservice navigator.
    Di we require some different installations or what exactly is webservice navigator
    Edited by: solutionProvider on Dec 24, 2010 8:43 PM

    HI All,
    Please elaborate  on how to test the WSDL link though webservice navigator.
    Di we require some different installations or what exactly is webservice navigator
    Edited by: solutionProvider on Dec 24, 2010 8:43 PM

  • OWSM Error while testing WSDL...

    Hi All,
    I have registered one service successfully...
    but while testing this service we are getting below error...
    java.io.IOException: Document found at 'http://localhost:8888/gateway/services/SID0003002/SID0003002,4/Sample1.xsd' is not a schema document.
    can any one help ...

    Can you provide the Sample1.xsd?
    Edited by: IainD on Aug 7, 2009 1:39 AM

  • Error creating WSDL file

    Hi all,
    I'm trying to create a WSDL file with wsdeploy from my server classes, but it fails. My build.xml process-war syntax is somewhat similar to that of the Hello example, and the procedure is just the same; first create WEB-INF, then create portable war-file and finally create deployable war-file. The deployable war, src-jaxrpc.war is created, but it doesn't contain the WSDL file. Here are its contents:
    META-INF/MANIFEST.MF
    src/Harj2IF.class
    src/Harj2Impl.class
    WEB-INF/classes/src/LibImpl.class
    WEB-INF/classes/src/LibIF.class
    WEB-INF/web.xml
    WEB-INF/jaxrpc-ri-before.xml
    WEB-INF/Library_model.xml.gz
    WEB-INF/web-before.xml
    WEB-INF/jaxrpc-ri-runtime.xml
    The error message I get with wsdeploy is this:
    [exec] info: created temporary directory: D:\Service\build\wsdeploy-generated\jaxrpc-deploy-ec04fc
    [exec] info: processing endpoint: Library
    [exec] error: class java.lang.StackTraceElement does not have a public accessible empty constructor
    [exec] info: created output war file: D:\Service\dist\src-jaxrpc.war
    My config.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
         xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="http://localhost:9080/src-jaxrpc/src?WSDL"
    packageName="src"/>
    </configuration>
    And my jaxrpc-ri.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <webServices
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
    version="1.0"
    targetNamespaceBase="http://com.test/wsdl"
    typeNamespaceBase="http://com.test/types"
    urlPatternBase="/ws">
    <endpoint
    name="Library"
    displayName="Example Library v.1.0"
    description="A simple Web application"
    interface="src.LibIF"
    implementation="src.LibImpl"/>
    <endpointMapping
    endpointName="Library"
    urlPattern="/src"/>
    </webServices>
    My LibIF.java looks like this:
    package src;
    import java.rmi.Remote;
    import java.io.IOException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.rmi.RemoteException;
    public interface LibIF extends Remote {
    public boolean initDocument(String fileName) throws IOException, ParserConfigurationException, SAXException, RemoteException;
    public boolean addB(String fileName) throws IOException, RemoteException;
    public boolean removeB(String fileName) throws IOException, RemoteException;
    public boolean showB(String fileName) throws IOException, ParserConfigurationException, SAXException, RemoteException;
    public boolean findB() throws IOException, RemoteException;
    public boolean rewriteB(String fileName) throws IOException, RemoteException;
    Could someone even suggest any solution based on this information?

    Are u trying out the example frm that Web Service Book frm that some publisher, He must be using xrpcc. Ok
    .........For WSDL file not to be created there are few reasons and in them I kno one. For wsdeploy tool to create the wsdl file it reads the jaxrpc-ri.xml file and the war file.
    ........for the proper working of this, the impl file shd have methods which throw Remote exceptions and no errors, of course It does compile in the earlier command execution but.. few minute errors like the above might prevent the creation of wsdl file, chk these and try
    ........Hope it wrks..........|ABY|

  • WSDL incorrect - in XSD elements always must be the root element?

    Hi!
    First of all, sorry about my english, but I'm not accustomed to write in this language ;-)
    We're trying to publish a Webservice with JAXWS and with a classes generated via JAXB parsing a group of XSD files, always in a maven project with java 5.
    More explained the steps we are trying to follow:
    1) parse the XSD files with JAXB and generate a JAR file to be included like a dependency in the webapp
    2) use the classes packaged in the JAR in other maven project and define and deploy a webapp with the webservice using JAXWS defining a SEI that uses and returns a Type included in the JAR generated in the previous step. Here it is the interface that implements the SEI:
    @WebMethod
         public TESTELEMENT test(
                   @WebParam(name = "test")
                   TESTELEMENT element);The problem seems to be that if the elements in the original XSD files aren't root elements the WSDL generated is incorrect.
    Here there are the XSD files we are using and the WSDL error result (XMLSpy dixit, "ns1:Example" must refer to an existing element).
    Anyone knows what happens?
    Thank you in advance and sorry about this large message!
    +--- start of TEST.XSD --+
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema xmlns="http://example.work/test" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.work/test" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:include schemaLocation="TEST_TYPE.xsd"/>
    <!--
    if we define the Example Element like this, everything works ok! why? because Example is defined global?
    <xs:element name="Example" type="ExampleType"/>
    -->
    <xs:element name="TEST_ELEMENT">
    <xs:annotation>
    <xs:documentation>Blablabla</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Example" type="TestType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>+-- end --+
    +--- start of TEST_TYPE.xsd --+
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns="http://example.work/test" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.work/test" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="TestType">
    <xs:annotation>
    <xs:documentation>Example type</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="Element_A" type="xs:string"/>
    <xs:element name="Elment_B" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>+-- end --+
    +-- start WSDL error --+
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="TestBO" targetNamespace="http://our.package.test/" xmlns:ns1="http://our.package.test/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://example.work/test" xmlns:tns="http://example.work/test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="TEST_ELEMENT">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="Example" type="tns:TestType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="TestType">
    <xs:sequence>
    <xs:element name="Element_A" type="xs:string"/>
    <xs:element name="Elment_B" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://our.package.test" xmlns:ns1="http://example.work/test" xmlns:tns="http://our.package.test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.work/test"/>
    <xs:element name="test" type="tns:test"/>
    <xs:element name="testResponse" type="tns:testResponse"/>
    <xs:complexType name="test">
    <xs:sequence>
    <xs:element minOccurs="0" name="test">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ns1:Example"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="testResponse">
    <xs:sequence>
    <xs:element minOccurs="0" name="return">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ns1:Example"/> *<!-- here is the error - XMLSpy dixit that ns1:Example must refer to an existing element -->*
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="test">
    <wsdl:part element="ns1:test" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="testResponse">
    <wsdl:part element="ns1:testResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:portType name="TestBO">
    <wsdl:operation name="test">
    <wsdl:input message="ns1:test" name="test">
    </wsdl:input>
    <wsdl:output message="ns1:testResponse" name="testResponse">
    </wsdl:output>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>+-- end --+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi again.
    About my last post, say that the WSDL generated, in fact, was generated with CXF, sorry.
    Using JAXWS (wsgen to be more explicit) the WSDL results still are not ok, as you can see, the error is in the last ns1:Example reference in ServeiTestBO_schema1.xsd, that XMLSpy says that doesn't exists :-( :
    +--- ServeiTestBOImplService.wsdl [ServeiTestBOImpl - SEI] ---+
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.5-b03-. -->
    <definitions targetNamespace="http://impl.our.package.test/" name="ServeiTestBOImplService" xmlns:tns="http://impl.our.package.test/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
      <import namespace="http://our.package.test/" location="ServeiTestBO.wsdl"/>
      <binding name="ServeiTestBOImplPortBinding" type="ns1:ServeiTestBO" xmlns:ns1="http://our.package.test/">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <operation name="test">
          <soap:operation soapAction=""/>
          <input>
            <soap:body use="literal"/>
          </input>
          <output>
            <soap:body use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="ServeiTestBOImplService">
        <port name="ServeiTestBOImplPort" binding="tns:ServeiTestBOImplPortBinding">
          <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
        </port>
      </service>
    </definitions>+--- ServeiTestBO.wsdl [SEI interface] ---+
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.5-b03-. -->
    <definitions targetNamespace="http://our.package.test/" xmlns:tns="http://our.package.test/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/">
      <types>
        <xsd:schema>
          <xsd:import namespace="http://our.package.test/" schemaLocation="ServeiTestBO_schema1.xsd"/>
        </xsd:schema>
        <xsd:schema>
          <xsd:import namespace="http://example.work/test" schemaLocation="ServeiTestBO_schema2.xsd"/>
        </xsd:schema>
      </types>
      <message name="test">
        <part name="parameters" element="tns:test"/>
      </message>
      <message name="testResponse">
        <part name="parameters" element="tns:testResponse"/>
      </message>
      <portType name="ServeiTestBO">
        <operation name="test">
          <input message="tns:test"/>
          <output message="tns:testResponse"/>
        </operation>
      </portType>
    </definitions>+--- ServeiTestBO_schema1.xsd *[with error in the last "ns1:Example"]* ---+
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema version="1.0" targetNamespace="http://our.package.test/" xmlns:tns="http://our.package.test/" xmlns:ns1="http://example.work/test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="http://example.work/test" schemaLocation="ServeiTestBO_schema2.xsd"/>
      <xs:element name="test" type="tns:test"/>
      <xs:element name="testResponse" type="tns:testResponse"/>
      <xs:complexType name="test">
        <xs:sequence>
          <xs:element name="test" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element ref="ns1:Example" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="testResponse">
        <xs:sequence>
          <xs:element name="return" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element ref="ns1:Example" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>
    --- ServeiTestBO_schema2.xsd  ---
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://example.work/test" xmlns:tns="http://example.work/test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="TEST_ELEMENT">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Example" type="tns:TestType" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="TestType">
        <xs:sequence>
          <xs:element name="Element_A" type="xs:string"/>
          <xs:element name="Elment_B" type="xs:boolean"/>
          <xs:element name="Sex" type="tns:SexType"/>
        </xs:sequence>
      </xs:complexType>
      <xs:simpleType name="SexType">
        <xs:restriction base="xs:string">
          <xs:enumeration value="M"/>
          <xs:enumeration value="W"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>Thanks in advance again.

  • WSDL to JAVA conversion problem

    Hi,
    I am facing a problem while building the Java stubs, skeletons and data files from my WSDL file using the WSDL2Java utility of Axis. It is not generating the expected number of classes. Am I having a problem 'coz my wsdl contains two namespaces ?

    it is pretty simple. if you use ant, just do this.
    The best source of information is http://ws.apache.org/axis
    <target name="wsdl2java">
    <axis-wsdl2java url="C:/Server/wsdl/Test.wsdl"
    all="true"
    serverSide="true"
    testcase="true"
    verbose="true"
    helperGen="true"
    output="C:/Server/wsdl/wsdlsrc">
    </axis-wsdl2java>
    </target>

  • Create Resource from URL (WSDL) through corporate proxy?

    In OSB I Create a Resource from a URL (WSDL) but I get a "No resource found".
    Im using this service to test...
    http://webservicex.net/stockquote.asmx?WSDL
    I suspect its because it needs to route though our corporate proxy. Do I set this up in the OSB or the Weblogic Administration Console?
    I setup the proxy in the OSB, but it appears I can only assign it to a business service at this point, but I cant create my business service till I load in the WSDL url.
    This works fine for internal WSDL's inside our network. Does anyone know how to configure weblogic or osb to take traffic through a corporate proxy so it can find the test wsdl on an external network?
    Thanks!

    Hi Cory,
    In SB Console go to System Administration > Global Resources > Proxy Servers... Add a new proxy server there...
    In your Business Service you configure the proxy server under Advanced HTTP Transport Configuration...
    You can create the WSDL on SB Console by copy and pasting the WSDL content...
    Hope this helps...
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • WSDL: Server Error

    Hi,
    I have SOAP-XI-RFC scenario.
    I generated a WSDL, and using it as a webservice from my ASP (local) application.
    My URL for connecting to xi server is:
    http://xiServer:xiPort/XISOAPAdapter/MessageServlet?version=x.0&Sender.Service=MY_SERVICE&Interface=MY_NAMESPACE/MY_MessageINTERFACE
    I am getting this error. SERVER ERROR in my localhost application.
    In rwb also there is no error logged for this event.
    What am I missing?
    any problems with URL or something else in my application.
    :::ERROR::::
    =========
    Exception :Server Error
    StackTrace--> at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message,
                                  WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    =========
    Thanks,
    Narendra.

    Ok,
    Lets go this way.
    First, Is it okay if I test WSDL in my http://localhost (ASP.Net) Application?
    I am following scenario in weblog of Sudhir.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    I am missing something in URL part.
    I get this message "Message Servlet is in Status OK"
    when I try this URL directly in IE.
    But when I run the (ASP.Net) application it fails !!
    Regards,
    Narednra.
    No response till now...
    Message was edited by: Narendra Jadeja

  • Client Proxy through WSDL

    Hi,
    I am creating a Client Proxy through WSDL Link in SE80 Transaction. I am getting an error 'NO Vendor Specified'. Please throw some light.
    Thanks,
    Mathivanan.G

    I have tried that also same error.
    This is my test WSDL File.
    I am not able to paste the File contents i dont know Y
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://microsoft.com/webservices/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://microsoft.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/webservices/">
          <s:element name="GetPrimeNumbers">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="1" maxOccurs="1" name="max" type="s:int" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetPrimeNumbersResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetPrimeNumbersResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>
      </wsdl:types>
      <wsdl:message name="GetPrimeNumbersSoapIn">
        <wsdl:part name="parameters" element="tns:GetPrimeNumbers" />
      </wsdl:message>
      <wsdl:message name="GetPrimeNumbersSoapOut">
        <wsdl:part name="parameters" element="tns:GetPrimeNumbersResponse" />
      </wsdl:message>
      <wsdl:message name="GetPrimeNumbersHttpGetIn">
        <wsdl:part name="max" type="s:string" />
      </wsdl:message>
      <wsdl:message name="GetPrimeNumbersHttpGetOut">
        <wsdl:part name="Body" element="tns:string" />
      </wsdl:message>
      <wsdl:message name="GetPrimeNumbersHttpPostIn">
        <wsdl:part name="max" type="s:string" />
      </wsdl:message>
      <wsdl:message name="GetPrimeNumbersHttpPostOut">
        <wsdl:part name="Body" element="tns:string" />
      </wsdl:message>
      <wsdl:portType name="PrimeNumbersSoap">
        <wsdl:operation name="GetPrimeNumbers">
          <wsdl:input message="tns:GetPrimeNumbersSoapIn" />
          <wsdl:output message="tns:GetPrimeNumbersSoapOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:portType name="PrimeNumbersHttpGet">
        <wsdl:operation name="GetPrimeNumbers">
          <wsdl:input message="tns:GetPrimeNumbersHttpGetIn" />
          <wsdl:output message="tns:GetPrimeNumbersHttpGetOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:portType name="PrimeNumbersHttpPost">
        <wsdl:operation name="GetPrimeNumbers">
          <wsdl:input message="tns:GetPrimeNumbersHttpPostIn" />
          <wsdl:output message="tns:GetPrimeNumbersHttpPostOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="PrimeNumbersSoap" type="tns:PrimeNumbersSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="GetPrimeNumbers">
          <soap:operation soapAction="http://microsoft.com/webservices/GetPrimeNumbers" style="document" />
          <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="PrimeNumbersHttpGet" type="tns:PrimeNumbersHttpGet">
        <http:binding verb="GET" />
        <wsdl:operation name="GetPrimeNumbers">
          <http:operation location="/GetPrimeNumbers" />
          <wsdl:input>
            <http:urlEncoded />
          </wsdl:input>
          <wsdl:output>
            <mime:mimeXml part="Body" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="PrimeNumbersHttpPost" type="tns:PrimeNumbersHttpPost">
        <http:binding verb="POST" />
        <wsdl:operation name="GetPrimeNumbers">
          <http:operation location="/GetPrimeNumbers" />
          <wsdl:input>
            <mime:content type="application/x-www-form-urlencoded" />
          </wsdl:input>
          <wsdl:output>
            <mime:mimeXml part="Body" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="PrimeNumbers">
        <wsdl:port name="PrimeNumbersSoap" binding="tns:PrimeNumbersSoap">
          <soap:address location="http://www50.brinkster.com/vbfacileinpt/np.asmx" />
        </wsdl:port>
        <wsdl:port name="PrimeNumbersHttpGet" binding="tns:PrimeNumbersHttpGet">
          <http:address location="http://www50.brinkster.com/vbfacileinpt/np.asmx" />
        </wsdl:port>
        <wsdl:port name="PrimeNumbersHttpPost" binding="tns:PrimeNumbersHttpPost">
          <http:address location="http://www50.brinkster.com/vbfacileinpt/np.asmx" />
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
    Edited by: Mathivanan G on May 13, 2009 1:14 PM

  • Reg: WSDL

    HI all,
    I have created a WSDL for a RFC function mudule. I am new to the WSDL could you please clarify my questions.
    1. What is WSDL number ?
    2. How to get WSDL number ?
    2. How to test WSDL assigned to BAPI ( Can we test it from R3 ) ?
    Please help me...
    Thanks,
    Nagaraju

    Most of this information is in the help files.  I'm going to assume that you have NW7.0 SP14 or higher...
    1. What is WSDL number ?
    I don't know what you mean by 'number'.  Look up the definition for WSDL in Google or Wikipedia, but in simple terms, a WSDL document is a document that specifies the definition of your web service in a universal format so that others may use it.
    2. How to get WSDL number ?
    You get the url for a WSDL document from SOAMANAGER for the endpoint binding definition for your web service.  There is a link in there that allows you to open the document and capture the url.  The url is used for creating a project and testing from SOAPUI (as Jon suggested) or is given to your external app team for development purposes.
    2. How to test WSDL assigned to BAPI ( Can we test it from R3 )
    You don't test a WSDL, you test a web service method.  You can test from SOAPUI or from the Web Service Navigator in SOAMANAGER (Java stack required).

  • Xrpcc: Generate stub from WSDL

    Hi,
    I created a JAX-RPC based web services and used xrpcc tool to generate the server-side classes and wsdl file. And then deployed them on tomcat successfully.
    To access the web service, the remote client needs to get the wsdl document (in this case, i used the one generated by the xrpcc tool on the service side) and generate the client-side stub and other classes.
    However, i got an error message when trying to generate the stub:
    error: modeler error: invalid entity name: "PriceQuote" (in namespace: "http://www.w3.org/2001/XMLSchema")
    The wsdl document looks as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="TestService" targetNamespace="http://www.deitel.com/test.wsdl" xmlns:tns="http://www.deitel.com/test.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <message name="getPrice">
    <part name="String_1" type="xsd:string"/></message>
    <message name="getPriceResponse">
    <part name="result" type="xsd:PriceQuote"/></message>
    <portType name="Test">
    <operation name="getPrice">
    <input message="tns:getPrice"/>
    <output message="tns:getPriceResponse"/></operation></portType>
    <binding name="TestBinding" type="tns:Test">
    <operation name="getPrice">
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://www.deitel.com/test.wsdl"/></input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="http://www.deitel.com/test.wsdl"/></output>
    <soap:operation soapAction=""/></operation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/></binding>
    <service name="TestService">
    <port name="TestPort" binding="tns:TestBinding">
    <soap:address location="http://zhang:8080/jaxrpc-test/test/endpoint/Test"/></port></service></definitions>
    I noticed that the error is caused by PriceQuote data type. Then I added PriceQuote data type definition to the wsdl file.
    <types>
    <xsd:schema
    targetNamespace="http://www.deitel.com/schema"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="PriceQuote">
    <xsd:sequence>
    <xsd:element name="price" type="xsd:double"/>
    <xsd:element name="ISBN" type="xsd:string"/>
    <xsd:element name="storeID" type="xsd:int"/>
    <xsd:element name="storeDescription" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="getPrice">
    <part name="String_1" type="xsd:string"/></message>
    <message name="getPriceResponse">
    <part name="result" type="xsd1:PriceQuote"/></message>
    The xrpcc tool then can generate the client-side stub and classes without any problems. However, when the client is executed, I got the following error message:
    java.rmi.RemoteException: deserialization error: deserialization error: deserial
    ization error: deserialization error: unexpected element type: expected={http://
    www.deitel.com/schema}PriceQuote, actual={http://www.w3.org/2001/XMLSchema}Price
    Quote; nested exception is:
    deserialization error: deserialization error: deserialization error: des
    erialization error: unexpected element type: expected={http://www.deitel.com/sch
    ema}PriceQuote, actual={http://www.w3.org/2001/XMLSchema}PriceQuote
    deserialization error: deserialization error: deserialization error: deserialization error: unexpected element type: expected={http://www.deitel.com/schema}PriceQuote, actual={http://www.w3.org/2001/XMLSchema}PriceQuote
    at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiR
    efObjects(SOAPDeserializationContext.java:107)
    at com.sun.xml.rpc.client.StreamingSender._sendStreamingSender.java:159)
    at test.TestPort_Stub.getPrice(Unknown Source)
    Any suggestions?
    Thanks in advance,
    Su

    Su,
    I have been having same problem you have experimented. I did not quite understand the change you made exactly. Can you please help.
    Thanks
    Sam
    <?xml version="1.0"?>
    <definitions
    name="stockquote"
    targetNamespace="http://quote.com/stockquote.wsdl"
    xmlns:tns="http://quote.com/stockquote.wsdl"
    xmlns:xsd1="http://quote.com/stockquote.xsd"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema targetNamespace="http://quote.com/stockquote.xsd"
    xmlns="http://www.w3.org/2000/10/XMLSchema">
    <element name="TradePriceRequest">
    <complexType>
    <all>
    <element name="tickerSymbol" type="string"/>
    </all>
    </complexType>
    </element>
    <element name="TradePrice">
    <complexType>
    <all>
    <element name="price" type="float"/>
    </all>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="GetLastTradePriceInput">
    <part name="body" element="xsd1:TradePriceRequest"/>
    </message>
    <message name="GetLastTradePriceOutput">
    <part name="body" element="xsd1:TradePrice"/>
    </message>
    <portType name="StockQuotePortType">
    <operation name="GetLastTradePrice">
    <input message="tns:GetLastTradePriceInput"/>
    <output message="tns:GetLastTradePriceOutput"/>
    </operation>
    </portType>
    <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetLastTradePrice">
    <soap:operation soapAction="http://quote.com/GetLastTradePrice"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="StockQuoteService">
    <documentation>My first service</documentation>
    <port name="StockQuotePort" binding="tns:StockQuoteBinding">
    <soap:address location="http://quote.com/stockquote"/>
    </port>
    </service>
    </definitions>
    Hi Todor,
    I found out what caused the problem: I used
    "http://www.w3.org/2001/XMLSchema" as the
    typeNameSpace in the configuration file that is passed
    into the xrpcc tool when generates the wsdl document.
    Once I changed it to something else, everything works
    fine.
    Thanks,
    Su

  • WSDL to Java Conversion

    Hi,
    I am new to webservices. I am using axis1.1 and i want to convert an wsdl file to java. Can i do it using axis. Please suggest me how to do it and if there are some more sites from where i can get the detail about this, Please let me know.
    Thanks in advance.

    it is pretty simple. if you use ant, just do this.
    The best source of information is http://ws.apache.org/axis
    <target name="wsdl2java">
    <axis-wsdl2java url="C:/Server/wsdl/Test.wsdl"
    all="true"
    serverSide="true"
    testcase="true"
    verbose="true"
    helperGen="true"
    output="C:/Server/wsdl/wsdlsrc">
    </axis-wsdl2java>
    </target>

  • WSD testing

    Hi,
    My scenario is SAP to PROXY
    I am testing WSDL file using Alotva Xml spy. I checked my WSDL file, it is validated. I am trying to  send soap request to server i am getting below error.
    SRINIVAS has no permission for accessing party service Ser_HSFOFX
    actually this interface is created by someone. just i downloaded and testing this WSDL file.
    please let me know where is the probelm
    Thanks
    Srini..

    >
    abhishek salvi wrote:
    >
    if that is the case remove his user id from the restrictions and go ahead with yours :)
    > better if we not remove the credentials...because the scenario might be in use by some other applications which run using the already configured credentials....if we remove these and put in new then correspondingly all the sender applications have to be changed.....can cause inconsistency
    >
    > If 100% sure that this scenario is not used by anyone and is just kying in ID then you can go ahead with changing them...better not give people an opportunity to start hunting for your head:(
    >
    > Edited by: abhishek salvi on May 14, 2009 1:04 PM
    haha .... a safe bet ...
    but ideally a smart organization will not assign a persons id via restrictions. It will usually be a generic id.
    The best thing to do here is to add yourself to that list (get a confirmation regarding this with the proj. team) or get credentials of the user id configured and use it during test

Maybe you are looking for

  • Export an action from CS4

    Hey folks, So good news is my laptop lives again! However, I was debating reformatting my laptop and would reinstall CS4 obviously (or move to CS5 if I can afford it). Now I have a multi-step action in my Actions palette that I would like to export w

  • After reformatting drive - folder with question mark appear

    I am using an iMac 2010 I was planning to reformat it and install the OS Maverick from my drive but after formatting (which delete all the files from it's hard drive) after restarting a blinking question mark appears I have a wireless keyboard and mo

  • Adobe 10.1.1 -- Parse Error

    Hello community; I really need Adobe 10.1.1 to install on my android tablet so that I can read my textbooks in class without using slower pdf viewers. The problem is that when I try to run the apk off of my SD card, it says "Parse Error -- There is a

  • Query Design - Keyfigure attribute in the calculation

    Hi, I have an infoObject with "Standard Balance" (a key figure) as an attribute. InfoObject has been added to the InfoCube. In my InfoCube I have another Keyfigure called "Actual balance". Now, in the query I would like to check the difference betwee

  • Im trying to burn a lp from itunes, but it keeps cancelling at the last minute and saying error 4000

    im trying to burn a lp from itunes, but it keeps cancelling at the last minute and saying error 4000