WSDL-question on webservice

Hi folks
We are in the process of developing a couple of webservices - and we have run into a "situation" during this process that we cant quite figure out.
We have created webservices using both inside-out and outside-in, both with the same result.
The issue is this. The WSDL-files generated by SAP contains a "TransportBinding"-node, which contains a "Policy"-node with the value "HttpsToken" and "AlgorithmSuite"-node - with the value "TripleDesRsa15".
The node "soap:address location" on the other hand only implies that the communication is via standard http : "http://our.server.dk:8020/.......".
The consumer of these webservices seems to get confused about the Https/TripleRsaDes nodes, and they have to remove the "TransportBinding"-node to make it work.
Is this an error in the SAP-generated wsdl-files or is it an error on the consumer-side, that they are unable to "understand" the file correctly?
Any help is appreciated.
Best regards
  Brian

Manipulating the text in the WSDL does little good for you as you still need to create the provider in the target system.  The WSDL is just the definintion that is used by the consumer.  If the provider does not exist in the target system, then it will not be callable, you either have to re-create these providers or have them import into the system via transport.
Regards,
Rich Heilman

Similar Messages

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Question about webservice and wsdl file

    Hi All.
    I have this scenario , the customer wants to send some information as they happen
    The customer wants to use a web service to our database(JDBC)
    I understand that from this requirement , I have to develop the Object in PI , and create the wsdl file to send it to the customer , this wsdl file will have the URL and other information for the consuming of the webservice.
    Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    My question is it possible to create a scenario based on the cunstomer wsdl file eventhough the customer is the sender .
    if so what and how the URL will be.
    Thanks.

    Malu Mader wrote:
    > Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    > but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    refer Walkthrough - SOAP  XI  RFC/BAPI
    your URL will be;
    The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel

  • How to publish a static wsdl in my webservice?

    I am trying to create a webservice based on xsds that were not created by me (so I am not allowed to change them). I cannot generate the java classes with JDeveloper because the wsdl and the xsds are too complex so I used wsimport to do this. I manually created a project, copies these classes into it and I created java class that implements the generated interface.  In web.xml I mention it as the base of my webservice. This all works just fine, I can compile and deploy the webservice and I can access it's WSDL. But the WSDL that is published by my deployed webservice is invalid, and different from the original wsdl it was generated with. Sso I cannot used SoapUI to automatically create a request for me. I tried changing the generated annotations and I fixed one of the errors but there are more and this is not the path I want to take to make it work.
    So what I would like to know is: how can my webservice publish the original wsdl instead of the one that is generated at runtime using the annotations in the java classes? I am now looking into a sun-jaxws.xml that has the location, is this the right way to do it? 
    Thanks for the help!
    Wendy

    The xsd generated by the runtime has a bug.
    2.2 If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, nillable, default, fixed, form, block and type must be absent, i.e. only minOccurs, maxOccurs, id are allowed in addition to ref, along with <annotation>.
    http://www.w3.org/TR/xmlschema-1/#d0e4233
    Would suggest to submit a bug.

  • "Error in loading WSDL file" --- Adaptive Webservice Model

    Hi All,
    I have been using Deprecated web service  model. But now my application is moving to Test. So in order not to change the URL of the webservice model in the Test, i tried with the Adaptive webservice model. But when i try to import the model its saying " Error in loading WSDL file. Check the error log for more details." Please help me out in this.
    Thanks in advance,
    Pranesh.

    Hi Pranesh,
    Please refer to this thread for similar issue and check the log file for NWDS for more details
    Error in loading the WSDL file. Check the error log for more details
    Hope it helps
    Regards
    Arun

  • JWS WSDL question:  unmarshalling an object parameter's List member

    My webservice method which takes a single object parameter, which in turn has a member of type java.util.List, unmarshalls a complex type into the WSDL differently than another web method that has a parameter of type List. With that tortured explanation, here is a nutshell example:
    @WebService(...)
    @SOAPBinding(style=Style.RPC, use=Use.LITERAL)
    public class MyService {
        @WebMethod
        public void doOne(MyStruct request) { ..... }
        @WebMethod
        public void doTwo(List<String> names) { ..... }
    public class MyStruct {
        private List<String> names;
        public List<String> getNames() {.....}
        public void setNames(List<String> names) {.....}
    }The generated WSDL has a complex type for MyStruct, and that has an element defined like so:
    <xs:element maxOccurs="unbounded" minOccurs="0" name="names" nillable="true" type="xs:string"/>Whereas the type of element generated for the input message for doTwo() is:
    <wsdl:part name="arg0" type="ns1:stringArray"></wsdl:part>(where stringArray is a complex type, sequence of type xs:string... obv)
    Why the two different generated elements for the same native Java type? How can I make it generate a stringArray element for the element in MyStruct?

    In dashboard, you could create prompts and use presentation variable, which can be used in the sub-report.
    Search Presentation Varible on this Forum and you will get all the information that you needed.
    Cheers!
    Shilei G

  • Invalid WSDL while consuming webservice

    Hi ,
    I have done with soap to proxy interface  in PI7.1 EHP1,
    Now i am trying to publish the sender agrement to service registry i am facing the issue as
    Service Registry configuration issue
    because of this i have created wsdl file from display wsdl tool  in directory using the
    http://<host>:<J2EEport>/XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>
    and now  i tryed tested this wsdl file by using soapui its working fine.
    the same wsdl when i am using in creating a webdynpro applicaiton to consume this wsdl file i am getting as invalid wsdl file.
    i have followed the link to create a consume webservice
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/
    Kindly suggest me is there any new way to create wsdl in 7.11 as i see old version 7.0 wsdl are wroking fine while creating a model in webdynpro application.
    Regards
    Vijay G
    Edited by: vijay Kumar on Jun 9, 2010 1:31 PM

    Hi,
    Since you are using PI 7.1, you need not to define the websierce by using wizard in the integration directroy.
    In PI 7.1 it is not required to manually formulate your sender SOAP URL, generated WSDL contains all the required information.
    Directly Go to Integration Directory - - - -> Sender Agreement - - - > Display WSDL
    This would help you:
    http://www.riyaz.net/blog/pi-71-publishing-service-interface-as-a-webservice-in-sr/technology/sap/527/
    Regards,
    Abid Mazhar

  • General question about webservices

    I hava a file "Test.java" (which attempts to test a webservice) and a XML-File.
    I compiled the Test-class successfully and now I'm wondering what are the next
    steps to be able to send a request to the webservice and get a response.
    I know that I will need to install Apache Axis (?). But I have no idea how to go on.
    What is with the Test.class? I'll have to pack it somehow, I suppose.
    Sorry if my question's too stupid. I'm a beginner with Java and all those web- and xml-things are very confusing. :o(
    The Test.java:
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.net.URL;
    import java.security.Security;
    import org.apache.axis.Constants;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.InputSource;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    import javax.xml.rpc.ParameterMode;
    public class Test
    public static void main(String [] args) throws Exception {
         try {
              runIt();
         } catch(Exception e) {
              e.printStackTrace();
    private static void runIt() throws Exception {
         System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
         Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
         System.setProperty("javax.net.ssl.trustStore","C:/java/olliclientkeystore");
         String ret = "";
         String endpoint = "https://whatever";
         Service service;
         Call call;
         for (int i = 0; i <= 8; i++) {
         switch(i) {
              case 0:     System.out.println("Case 0");
              service = new Service();
              call = (Call) service.createCall();
              call.setTargetEndpointAddress(new URL(endpoint));
              call.setOperationName("abc");
              call.addParameter("x1", Constants.XSD_STRING, ParameterMode.IN);
              call.addParameter("x2", Constants.XSD_STRING, ParameterMode.IN);
              call.addParameter("x3", Constants.XSD_STRING, ParameterMode.IN);
              call.addParameter("x4", Constants.XSD_INT, ParameterMode.IN);
              call.setReturnType( XMLType.XSD_STRING );
              call.setUsername("xyz");
              call.setPassword("zyx");
              ret = (String) call.invoke(new Object[] {"abc",null,null, new int[] {1,3,5}});
              break;
              case 1:     System.out.println("Case 1");
              case 8:     System.out.println("Case 8");
                        service = new Service();
                        call = (Call) service.createCall();
                        call.setTargetEndpointAddress(new URL(endpoint));
                        call.setOperationName("def");
                        call.setReturnType( XMLType.XSD_STRING );
                        call.setUsername("xyz");
                        call.setPassword("zyx");
                        ret = (String) call.invoke(new Object[] {});
                        break;
         //System.out.println(ret);
         File f = new File("C:\\AnyName"+i+".xml");
         if (f.exists() && f.canWrite()) {
              f.delete();
         try {
              FileWriter write = new FileWriter("C:\\Anyname"+i+".xml",true);
              write.write(ret);
              write.close();
         } catch(IOException e) {
              e.printStackTrace();
         try {
              XMLReader reader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
              InputSource in = null;
              try {
                   in = new InputSource(new FileInputStream(f));
              } catch(FileNotFoundException e) {
                   System.out.println("Datei nicht gefunden oder Zugriff verweigert: "+f.toString());
              Parser parser = new Parser();
              ContentHandler xmlImp = parser;
              reader.setContentHandler(xmlImp);
              reader.parse(in);
         } catch(Exception e) {
              System.out.println("Fehler: ");
              e.printStackTrace();
    }Can anybody please give me a hint? (or a link to a very good tutorial which
    is understandable for a beginner like me)
    Thanks in advance.

    When I execute the class I get the following message:
    Case 0
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.UnknownHostException: ollilap.hsh-berlin.com
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: ollilap.hsh-berlin.com
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:181)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:397)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
         at org.apache.axis.client.Call.invoke(Call.java:2737)
         at org.apache.axis.client.Call.invoke(Call.java:2413)
         at org.apache.axis.client.Call.invoke(Call.java:2336)
         at org.apache.axis.client.Call.invoke(Call.java:1793)
         at Test.Test.runIt(Test.java:69)
         at Test.Test.main(Test.java:39)
         {http://xml.apache.org/axis/}hostname:Dell1
    java.net.UnknownHostException: ollilap.hsh-berlin.com
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
         at org.apache.axis.client.Call.invoke(Call.java:2737)
         at org.apache.axis.client.Call.invoke(Call.java:2413)
         at org.apache.axis.client.Call.invoke(Call.java:2336)
         at org.apache.axis.client.Call.invoke(Call.java:1793)
         at Test.Test.runIt(Test.java:69)
         at Test.Test.main(Test.java:39)
    Caused by: java.net.UnknownHostException: ollilap.hsh-berlin.com
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:181)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:397)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:135)
         ... 11 moreI execute it out of Eclipse. I think that that must be wrong (?).
    I created a *.war-file and tried to deploy it with Java Web Sevices Developer Pack
    DeployTool. But that doesn't work.

  • Problems with WSDL file from Webservice definition

    Hi all,
    I trying to import into XI the WSDL file from a web service. I´m doing it following the blog /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    But I do not why but it is not creating the messages.
    Any Idea,
    Many thanks and Regards
    Noelia

    Hi thnaks for your help!!
    this is the wsdl file. I think this is correct,but i´m not very familiar with this!
    <?xml version="1.0" encoding="utf-8"?>
    <!--            Generated by WSDLDefinitionsParser    --><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="urn:WS_ExtraccionNombramientoVi" targetNamespace="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document" xmlns:tns="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document">
      <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:WS_ExtraccionNombramientoVi" xmlns:tns="urn:WS_ExtraccionNombramientoVi" elementFormDefault="qualified">
          <xs:element name="ejecutarExtraccionNS">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="fechaExplotacion" type="xs:string" nillable="true"/>
                <xs:element name="tipoXML" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="ejecutarExtraccionNSResponse">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="Response" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:schema>
      </wsdl:types>
      <wsdl:message name="ejecutarExtraccionNSIn_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNS"/>
      </wsdl:message>
      <wsdl:message name="ejecutarExtraccionNSOut_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNSResponse"/>
      </wsdl:message>
      <wsdl:portType name="WS_ExtraccionNombramientoVi_Document">
        <wsdl:operation name="ejecutarExtraccionNS">
          <wsdl:input message="tns:ejecutarExtraccionNSIn_doc"/>
          <wsdl:output message="tns:ejecutarExtraccionNSOut_doc"/>
        </wsdl:operation>
      </wsdl:portType>
    </wsdl:definitions>
    Regards Noelia

  • Use WSDL to call Webservice

    Guys, I am on 6.20
    I read through the documentation on some related topics but still don't have a clear idea of how to proceed.
    I have a WSDL provided to me. I need to use this and call the Webservice from my BSP.
    I have seen examples where SOAP message is hardcoded and tried to do similar using information for mWSDL but am getting a HTTP comm. failure?
    Whats the preferable method to use WSDL and call the webservice in 6.20.?
    Do I have to create a XSLT program to parse a WSDL and provide something which  I could then use to make the call?
    Appreciate it..
    Thanks.

    Look at the below thread to consume webservice..
    Re: Consuming WebService, + SOAP HEADER AUTH:
    <i>Do I have to create a XSLT program to parse a WSDL and provide something which I could then use to make the call?</i>
    Yes, to translate from XML to ABAP you can use XSLT.
    To know <b>more about XSLT</b> check the below links:
    reference link:
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/9d7348389211d596a200a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/576670dca511d4990b00508b6b8b11/content.htm
    Upload XML to internal table and vice versa in SAP 4.6C
    /people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
    <i>*Reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • WSDL Problem (Sender WebService)

    Hi,
         Our scenario is Webservice to SAP, recently as per the new requirement 2 new fields were added to structure. Earlier WSDL was given from ID(Tools --> Define Webservice) , now similarily after addition of 2 fields in structure a new WSDL was generated from ID again & was given to client.
    While generating WSDL i had used URL for Integration Engine, bypassed adapter engine , first WSDL was also given in similar way.
    Now while testing this scenario two new feilds are not getting populated in payload. Webservices system is sending that values but not getting reflected in PI.
    Already tried refreshing cache, complete cache refresh but no use.
    Can anyone give some suggestions, it will be helpful in resolving issue ..
    Regards,
    Vinod.

    Couple of hints.
    After generating the WSDL with new fields added, check whether those two new fields are reflected in the wsdl. If so, then your WSDL generation is right.
    Remove the old versions and maintain one wsdl always. Also tell your partner to reference the latest WSDL.
    Test using SOAPUI or XMLSPY loading the lastest WSDL and see whether you see latest request or response structure.
    If you are using version PI 7.1 or above , the easy way to do is go to sender agreement and pick display wsdL option and generate it. You dont manually input all the interface name, namespace details.
    Hope this help.

  • WSDL example:  EJB - webservice

    Hi,
    Does anybody have an example WSDL service-decription for an RPC-style webservice,
    based on a stateless session bean?
    I think "EJB <-> webservice" could be a hot topic ...
    Sorry, but I do not see the basic concept yet - if an entity bean represents a
    set of data and the service uses a session bean in order to access it and to make
    a snapshot of the data (facade) - how does a service look like. Does it contain
    a complex type (XML document, Bean) - what would you recommend?
    When is it worth to implement this? (In terms of scalability and security vs.
    flexibility, easy client access)
    I would kindly appreciate any help.
    Could you even send a complete document or include it here ... ?
    Thx, Cle

    Couple of hints.
    After generating the WSDL with new fields added, check whether those two new fields are reflected in the wsdl. If so, then your WSDL generation is right.
    Remove the old versions and maintain one wsdl always. Also tell your partner to reference the latest WSDL.
    Test using SOAPUI or XMLSPY loading the lastest WSDL and see whether you see latest request or response structure.
    If you are using version PI 7.1 or above , the easy way to do is go to sender agreement and pick display wsdL option and generate it. You dont manually input all the interface name, namespace details.
    Hope this help.

  • Generating WSDL for a webservice that accepts attachments

    Is there anyway to automaticaly generate a WSDL file for a webservice that accepts
    attachments? Seems like the ant tasks and workshop don't work with services using
    soap with attachments at all...
    Thanks,
    Leonardo.

    Attachments are supported in WLS 7.0.0.1. You can either
    map the attachments to the parameters or use handlers to
    to get to attachments.
    If the attachments are mapped to parameters the WSDL will
    be generated with the appropriate mime binding.
    regards,
    -manoj
    "Leonardo Bueno" <[email protected]> wrote in message
    news:3d63e861$[email protected]..
    Is there anyway to automaticaly generate a acceptsWSDL file for a webservice
    that
    attachments? Seems like the ant tasks and workshop don't work with services
    using
    soap with attachments at all...
    Thanks,
    Leonardo.
    [att1.html]

  • WSDL-Question

    Hi folks
    We are in the process of developing a couple of web services - and we have run into a "situation" during this process that we cant quite figure out.
    We have created web services using both inside-out and outside-in, both with the same result.
    The issue is this. The WSDL-files generated by SAP contains a "TransportBinding"-node, which contains a "Policy"-node with the value "HttpsToken" and "AlgorithmSuite"-node - with the value "TripleDesRsa15".
    The node "soap:address location" on the other hand only implies that the communication is via standard http : "http://our.server.dk:8020/.......".
    The consumer of these webservices seems to get confused about the Https/TripleRsaDes nodes, and they have to remove the "TransportBinding"-node to make it work.
    Is this an error in the SAP-generated wsdl-files or is it an error on the consumer-side, that they are unable to "understand" the file correctly?
    Any help is appreciated
    Best regards
    Brian

    Jeeee wrote:
    Hello everyone,
    I'm really new at that JAVA deving thing and would like to learn more... I'm on windows Vista right now and I created a .NET Web Service that I need to access with a java class. Someone on this forum told me to use the WSDL2JAVA from CXF and that would create the necessary. So now I downloaded XAMPP since CXF requires Apache. But I'm stuck there. Sorry if it sounds really noobish but I have no clue what to do next... I don't understand if I need to download something from the CXF or it's build in the Apache. I hope any one can give me a small clue at what to do here!!
    Thank you!!wsimport is a tool that ships with java. Pass this application the url to your .net WSDL and it will actually generate the class files (compiled) based on this wsdl.
    example:
      wsimport http://www.mysite.com/myservice?WSDL

  • How to generate a unique WSDL for two webservices ?

    Hi ,
    Does anyone know if there is a way to generate a unique WSDL file for two webservices ?
    Actually, the problem is more general. I have two EJB that are exposed through web services. They both contain a simple data structure that is passed back and forth.
    The Client is a C# GUI and it is having problems with that data structure. Even if it is the same data structure with the same namespace, it seems it as two different objects and so creates two different stubs ...
    I am trying to work around that from the server side, bc it does not seem that we can do it from the C# application.
    First, I am trying to generate just one WSDL that would include both webservices but I can't seem to find an easy way of doing that.
    Second, I have heard that the complex types could be referenced externaly and I think that it would do the trick as well. I don't know how to do that either.
    I am using ServiceGen Ant tags to generate my web services from an EJB.
    Did anyone encounter that issue ?
    Can any one help ?
    Thanks a lot
    Farez

    hi,
    go to t-code SNRO and create a number range from 0 to 99999999.
    call the below fm in the report by passing the created number range name to fm to generate the new number every time..
    see
    NUMBER_GET_NEXT Get next free number in a range
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    NR_RANGE_NR = '01'
    OBJECT = 'YPOLLID'        "number range name created in SNRO.
    IMPORTING
    NUMBER = LS_NUMBER.       "new number with one increment..
    or
    you can try..
    you can use following code.
    select max( num ) from z_table into v_max_num.
    v_max_num = v_max_num+1.
    Regards,
    prabhudas

Maybe you are looking for