Creating a Client Bean for a Webservice

Hi,
I created a deployable proxy for a webservice. I created a client bean that uses this proxy. I have created a webservice from the client bean and tested it. When I test my business Method testSampleWS I get the following error:
java.rmi.RemoteException: Service call exception; nested exception is:  java.net.ConnectException: Connection timed out: connect
Business Method.
public String testSampleWS() {
try{
InitialContext ic = new InitialContext();
CalculatorService s = (CalculatorService)ic.lookup ("java:comp/env/JNDIName");
CalculatorServiceViDocument vi = s.getLogicalPort();
vi.add(0.4f,2.0f);
return "hallo ";
} catch (Throwable e){
return "hier"+ e.toString();
If I remove the line vi.add(0.4f,2.0f); in the source code everything works fine. add is the business method of the webservice I want to create a client for.
What can be the problem?
Thank you
Julia

Hi,
it works if you put the lines
InitialContext ic = new InitialContext();
CalculatorService s = (CalculatorService)ic.lookup ("java:comp/env/JNDIName");
CalculatorServiceViDocument vi = s.getLogicalPort();
in the create-method and use a public CalculatorServiceViDocument.
Bye
Julia

Similar Messages

  • Creating a Client Bean for an SAP-Webservice

    Hi,
    I have created a web service for an SAP-Bapi with the web service creation wizard of the SAP-System (EC5).
    Now I would like to implement a client bean in the NetWeaver Developement Studio for it.
    How can I give input parameters for a testmethod? I have created the following test method and the init method. Now I need to fill the array Bapisdstad[] somehow. How can I do this? I need to create Bapisdstad-elements, but I don't know how to do this?
    Thank you!
    Julia
         public Z_SalesorderGetStatus port;
    Business Method.
         public String testCustomerId(int Id) {
              // TODO : Implement
              try{
                   Bapisdstat[] bapis = new Bapisdstat[1];
                   this.port.salesorderGetstatus("hallo",bapis);
              String b=" ";
              return "hallo"+b;
              catch(Throwable e){
                   return "Fehler"+e;
    Create Method.
         public void ejbCreate() throws CreateException {
                    try{
          // TODO : Implement
          InitialContext ic = new InitialContext();
          Z_SalesorderGetStatusService s = (Z_SalesorderGetStatusService)ic.lookup ("java:comp/env/Salesorder1Proxy");
          Z_SalesorderGetStatus vi = (Z_SalesorderGetStatus)s.getLogicalPort(Z_SalesorderGetStatus.class);
    this.port = vi;
          catch(Throwable e)

    Hi Maksim,
    thank you for your answer.
    When I insert something like:
    bapis[0] = new Bapisdstat();
    bapis[0].setMaterial("wood");
    I get the following mistake:
    java.rmi.RemoteException: Service call exception; nested exception is:      com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [DocNumber] of class [com.sap.proxies.types.p1.Bapisdstat] must exist and can not be null. This is required by schema description
    Is something wrong with my coding or do I have to do something else? Is there any documentation about this?
    Best regards,
    Julia

  • Unable to create SASL client connection for authentication mechanism [PLAIN

    I have problem to use dscc to admin my ds/dps servers, since I the dscc can't contact dscc agent. Though the agent is running on the default port number with network-bind-port of 0.0.0.0, there is nothing I can do to fix it.
    I debug the problem, and found following errors in server.log under dscc (deployed on SUN AS 8.2):
    Message: Unable to create SASL client connection for authentication mechanism [PLAIN]|#]
    [#|2007-08-21T15:28:40.252-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.opt.security.SASLClientHandler.initialize(SASLClientHandler.java:124)|#]
    [#|2007-08-21T15:28:40.253-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.opt.security.AdminClient.connectionOpen(AdminClient.java:131)|#]
    [#|2007-08-21T15:28:40.254-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.jmx.remote.generic.ClientSynchroMessageConnectionImpl.connect(ClientSynchroMessageConnectionImpl.java:71)|#]
    [#|2007-08-21T15:28:40.256-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.generic.GenericConnector.connect(GenericConnector.java:177)|#]
    [#|2007-08-21T15:28:40.257-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.jmxmp.JMXMPConnector.connect(JMXMPConnector.java:119)|#]
    [#|2007-08-21T15:28:40.258-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)|#]
    [#|2007-08-21T15:28:40.260-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getJmxConnector(NquickClient.java:816)|#]
    [#|2007-08-21T15:28:40.261-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getConnector(NquickClient.java:519)|#]
    [#|2007-08-21T15:28:40.262-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.nquickclient.NquickClient.getConnectorSystemAuthentication(NquickClient.java:314)|#]
    [#|2007-08-21T15:28:40.263-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.dcc.core.NquickPool.getSyncServerMBean(NquickPool.java:435)|#]
    [#|2007-08-21T15:28:40.264-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | com.sun.directory.dcc.core.NquickPool$1.run(NquickPool.java:320)|#]
    [#|2007-08-21T15:28:40.271-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.admin.directory.dcc.util.ViewBeanUtils:appendDebugLine | java.lang.Thread.run(Thread.java:534)|#]
    [#|2007-08-21T15:28:40.289-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageTitleAlertAndText | Node has no attributes.|#]
    [#|2007-08-21T15:28:40.293-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageActions | Could not obtain pageactions element.|#]
    [#|2007-08-21T15:28:40.295-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=11;|
    15:28:40 | httpWorkerThread-8080-0 | com.sun.web.ui.taglib.pagetitle.CCPageTitleTag:appendPageViewsMenu | Could not obtain pageviews element.|#]
    Please help if you could figure out what's going on. Thanks!

    Bug ID: 6551672
    Synopsis: SunAS claims "Unable to create SASL client conn for auth mechanism" and do not talk to Cacao
    Work Around:
    Work arround:
    Change the JVM of used by App Server.
    Edit the file:
         /usr/appserver/config/asenv.conf
    and replace
         AS_JAVA="/usr/j2se"
    by
         AS_JAVA="/usr/java"
    Then restart your AS domain.

  • Couldn't create jco client connection for logical system

    Dear Experts,
    we are facing a strange issue in our custom webdynpro java application, few of our portal users are getting the "couldn't create jco client connection for logical system" for Model Data JCO Destination. below are details
    1. portal version 7.02 SP14 (we have recently updated to SP14 from SP02-- is this is causing the issue ?)
         1.1. updated the NWDI track with SP14 SCA files as well as added latest WD Runtime SCA file deployed the applications to Production also.
    2. above said exception is inconsistent and happening for only few users
    3. ping and test of jco destinations are successfull in content administration as well as in SLD, destinations were added in the SLD system.
    4. cleared the JCO ARFC meta data cache in webdynpro console
    5. jco destinations are configured using uid/pwd, configured user is not locked active and tested in the backend by logging in with the same user.
    6. restarted the portal server
    even though, we are getting the above said exception for few of portal users randomly.
    Please help me on this ASAP, as i am not getting any further help on this.
    Thanks,
    Ram.

    Hello Ram,
    Check the JCo Pool Configuration settings of your JCO Destination. This message normally comes when the maximum connections has been reached. Increase the "Maximum Connections" to some number depending on the usage. A good habit is to disconnect the jco connection after executing the same in your webdynpro code if you don't want it to be synchronous.
    <ModelName>.modelInstance().disconnectIfAlive()
    Hope this helps.
    Regards
    Vijay

  • Proble while creating new Data Connection for the Webservice

    Hai All,
    when creating a new Data Conneciotn for the Webservice in the interactive form i got the following errror
    Cannot choose this operation:
    - there is no associated SOAP Binding
    edit -> new Data Connection -> WSDL -> i entered the wsdl url -> i got the methods in that webservice
    but when i select one of the method in the methods list i got above error
    i developed a webservice in NWDS and deployed the WAS ( created a webservice for the session bean)
    please help me to solve the problem
    Thanks in advance
    Siva Sankar N

    Problem was solved,
    Downloading the WSDLs:
    Download the 3 WSDL files from the WAS using the WS-navigator tool:
    Go to http://<was-host>:50000/wsnavigator/enterwsdl.html
    Select your WS
    Click in the menu “WSDLs”
    Download the default SAP WSDL
    You will have 3 WSDL files in the downloaded zip files.
    1) main.wsdl
    2)config1_XXXXVi_document.wsdl
    3_configl_document.wsdl
    Perform the follwing task to the above wsdl files, and use this wsdl files to the datasource
    1. Copy/paste the <wsdl:service> XML element from the main.wsdl to the Config1_SDN_adobeWSVi_document.wsdl.
    2. Copy the <wsdl:binding> XML element from the Config1_document.wsdl to the Config1_SDN_adobeWSVi_document.wsdl.
    3. Add the SOAP namespace (xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/") from the main.wsdl to the Config1_SDN_adobeWSVi_document.wsdl.
    4. Adjust the namespace reference by replacing “prt0” and “bns0” with “tns”.

  • Create a Client Proxy for consume wsdl via https URL return a 110 HTTP code

    Dear all.
    I has new in this forum, and i have a problem when trie to create a client proxy from external WSDL, using https URL, system returns me a 110 http code. For others externs WSDL called via http don´t have any problem, and create client proxy perfect
    Someone can help please.
    best regards in advance.

    Dear Anton I download de WSDL definition in a local file, but when I trie to use, the error persist.
    If I test de URL via WebService navigation option, this work correctly, but if I put this URL thats begins with https, in se80--> create client proxy -->insert URL and then system returns the message HTTP error (return code 110, message "") 
    What it´s happen?.
    Best regards in advance.
    Juliá

  • Problems creating a client proxy for a WS

    I've tried creating a client proxy from a wsdl but I've had no luck getting it to work.
    First of all I created the client proxy in se80 with instructions from a teched lecture. The proxy seems to be generated as intended. When I create the default logical port for the proxy in lpconfig, it doesn't get any URL at all by default in the Call Parameters tab. Atleast in the teched demo the logical port got the default URL straight away.
    Therefore I opened the wsdl file with notepad and put the address that was specified in the soap:address element as the location attribute. After saving and activating both the logical port and the client proxy I tried testing the proxy. All the methods give the same following error message:
    Sap Fault Code 1:
    Found 0 operation definitions using keys...
    The WS works fine from the WS Navigator test page though. If I change the logical port URL I get an "Unsupported xstream found" error message. Thus I assume the URL that I took from the wsdl should be correct. Can I assume the wsdl is somehow broken? As I look closer at the wsdl, it seems to consist of several wsdl's that are imported to the main wsdl.

    Hi Evan,
    I don't think the wsdl is broken. I assume your webservice is deployed on WAS. Typically the SAP wsdl consist of 3 files, main wsdl file and 2 other files for binding and porttypes.
    When all three files are appropriately available then only the proxy gets generated.
    Since in your case the proxy is generated and you could activate it, means there is no problem in the wsdl.
    Are there any further details in your error?
    Does your service methods require any input and you are providing the input appropriately?
    Regards,
    Vandana.

  • Error while creating a client proxy for CBR.RU

    Hi!
    I need to consume web service. Here is the link: http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx?WSDL
    I tried to make an own client proxy with SE80 transaction. (edit object->enterprise services -> client proxy -> create) After completing wizard an error occurs with text:
    Incorrect value: Unknown Namespace http://www.w3.org/2001/XMLSchema
    The same schema works perfecrly with this web service:
    http://www.deeptraining.com/webservices/wsStrings.asmx?WSDL
    In this case proxy class is created with no errors and everything is fine.
    Could anybody let me know what's the reason of such bug, please? I'm not competent with XML schemas so it's kind of difficult to understand what's wrong with WSDL file from CBR.RU

    Late response I know, but I have solved a similar problem recently and thought I would share.
    Firstly, the problem is not with the namespace. The "Namespace ..." part is just stating the namespace the "Incorrect Value" has. So this error is complaining about the value "Unknown" - which isn't very helpful.
    It appears the SAP SE80 importer does not like elements like the following because it can't understand <s:element ref="s:schema" />. It appears this is a common thing to be included in .NET generated WSDLs.
     <s:element minOccurs="0" maxOccurs="1" name="GetCursDynamicResult">      <s:complexType>          <s:sequence>               <s:element ref="s:schema" />               <s:any />          </s:sequence>     </s:complexType></s:element> 
    SAP will also not like this example as it does not support mixed content (see: http://www.w3schools.com/schema/schema_complex_mixed.asp)
    <s:element minOccurs="0" maxOccurs="1" name="SaldoXMLResult">
         <s:complexType mixed="true">
              <s:sequence>
                   <s:any />
              </s:sequence>
         </s:complexType>
    </s:element>
    You can "Fix" the problem in both cases by removing the offending text in a local copy of the WSDL file so remove line 4 in the first example and change line 2 in the second to <s:complexType> the proxy can then be generated. No idea if the resulting service will be fully operational though!

  • Unable to create Discovery Client object for Accessing Office365 calendar

    I'm trying to get DiscoveryClient Object for Creating Office365. I'm getting the following exception.
    {"Exception of type 'Microsoft.Office365.Discovery.DiscoveryFailedException' was thrown."}
    Code for this is :
    public static async Task<OutlookServicesClient> EnsureClientCreatedAsync()
                try
                    AuthenticationContext = new AuthenticationContext(CommonAuthority);
                    if (AuthenticationContext.TokenCache.ReadItems().Count() > 0)
                        // Re-bind AuthenticationContext to the authority source of the cached token.
                        // This is needed for the cache to work when asking for a token from that
                        // authority.
                        string cachedAuthority = AuthenticationContext.TokenCache.ReadItems().First().Authority;
                        AuthenticationContext = new AuthenticationContext(cachedAuthority);
                    DiscoveryClient discoveryClient = new DiscoveryClient( async () => await AcquireTokenAsync(AuthenticationContext, DiscoveryResourceId));
                    // Get the "Calendar" capability.
                    CapabilityDiscoveryResult result = await discoveryClient.DiscoverCapabilityAsync("Calendar");
                    var client = new OutlookServicesClient(result.ServiceEndpointUri, async () => await AcquireTokenAsync(AuthenticationContext, result.ServiceResourceId));
                    return client;
                catch (Exception)
                    if (AuthenticationContext != null && AuthenticationContext.TokenCache != null)
                        AuthenticationContext.TokenCache.Clear();
                    return null;
    Any suggestions?

    Hi,
    Seems more relate to Office 365 development,
    I suggest you post it to the corresponding forum, you will get more help there.
    http://community.office365.com/en-us/forums/default.aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • How can I create a Forms9i Runtime for client distribution

    Currently we have an application developed in Forms 5.0.6.8.0 our Database has been upgraded to 9i DB. The application is working fine with this combination but we want to upgrade Forms in order to get Oracle Support. We just get the Developer Suite 9i package and we're trying to test our application with this software.
    How can I create the client runtime for Forms 9i?
    My application will work with Win 95 and 98?
    Thanks.

    Oracle9i Forms is web-only. Forms 6i is the last release of Forms to have client/server and character mode.
    You can test Forms from the Builder by installing iDS. To deploy Forms using iAS follow the documentation. It's all there in the deployment guide.
    iAS and Forms doco can be found on OTN.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Create Java bean for a http session

    how can i create a java bean for an http session. also is it possible to access it from another java class within that session

    Try the following forum (about JSP technology)
    http://forum.java.sun.com/forum.jspa?forumID=45

  • How to create a client space

    Hello, I am a photographer and I would like to create a client space for them to see there wedding photography.
    Simply a web page protected by a password.
    I dont' need the ultimate security since its only there wedding images.
    I will provide them with the password so I don't need them to login to a database to get it.
    I know how to do my PHP coding with the help of a book...
    If the password is "1234" open this page.
    Elseif the password is "abcd" open this page, and so on.
    Else there is an error.
    My problem is how to write the code making the link directly to the page to open it without opening a PHP page with the link.
    I want them to open the page as soon as they press the submit button.
    Do I need to use the "echo" line?
    Thank you!

    Thank you very much SnakeEye02.
    I solved the problem, well I should say bypassed it.
    Using _POST, I did put a hidden variable (1)  in my Submit button, so I coded my PHP to show the link below the form, on the same page as the form.
    The form his processed on the same page, no other PHP page.
    So the client, after pressing on "Submit"  will see his link appear below the submit button.  "Go to your page" something like that.
    I know there's a lots of websites offering to setup a customer area.
    Thanks again!
    My new site should be online soon, at www.djphotographe.ca

  • Error creating Webservice Client in JAVA for ABAP Webservice(WSDL file)

    Hi all,
    I have created a webservice from a funtion module in the backend.
    Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.
    I tested this web service in backend and it is working fine.
    Now I am trying to generate JAVA cilent for this webservice using Eclipse and Axis,but getting the following error
    IWAB0399E Error in generating Java from WSDL:  WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
    faultCode=INVALID_WSDL: Encountered unexpected element '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element
    '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
        at java.lang.Thread.run(Unknown Source)
    Please let me know,wat needs to be done for this error to get resolved
    Thanks
    Santhosh

    Hi,
    I am also getting the same error while generating the client class from IBM Rational Application Developer IDE.
    Here is the error I get.
    WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
         [java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java] at java.lang.Thread.run(Thread.java:571)
    Did you find out the cause of this issue?
    Thanks & Regards,
    Vijay

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • Need some help in creating client proxy to call webservice

    Hi experts,
    I am new to ABAP so couldnt understand the SAP ABAP jargons.
    On of my colleague has written one search help exit function and i need to use that and have to write client proxy to establish connection to webservice.
    I never worked on proxy or webservice so, struggling to understand the concept and steps.
    I am following second part i.e Release 640 part of /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap weblog.
    I couldnt find "To get the process started, we turn to our old friend SE80. <b>From the Enterprise Services Tab, we are going to select Client Proxy and then hit create"</b>
    when i go to transaction se80 ObjectNavigator, i could see two dropdown lists after some tabs.
    in first list, I have selected, "Application Hierarchy", and in second I am selecting "Package".
    Not sure whether its correct or not.
    Once i do this i could see long list of <b>Object name and its description.</b>
    Now, what should i do ? where should i go for "Enterprise Services Tab" to create my proxy.
    Any help would be appreciated.
    Please send me PDF, having detailed steps to create client proxy.
    Thanks,
    Pranav

    Right click on the package and select Proxy object. In the Wizard select Service Consumer.
    then give the url of the WSDL file you want to access or path if u have a local file.
    then give the package for client proxy.
    then complete the wizard. the  client proxy will be create in that package.
    Next step will be creating a Logical Port using the transaction "lpconfig". Give the proxy name of the service interface created under client proxy. and set the configuration as follows.
    1. Make as a default port.
    2. in the URL, give the url of the webservice (.asmx)
    3. select "State Enabled" and "Message ID"
    and after creating a logical port,  set the proxy settings as in your webbrowser.
    (Http proxy server and port).
    then simply execute your webservice from SE80.

Maybe you are looking for

  • Playlist order - i can only get it in alphabetical order

    when i set up itunes on my pc i can only get the playlist SONGS in alphabetical order, either descending or ascending. is there a way that i can place my individual playlist songs in any order i want? thanx

  • Check which column in database table is updated without hard code

    Hi , I have a requirement to detect if there is a particular column in the database table is updated , and this column name is found in mapping table ( business logic ) , it will do an insertion to another special table. My idea is to introduce a tri

  • Adobe Reader wont install on my laptop

    I'm running Windows 7 on my lap top.  I tried installing Adobe Reader 9.3.3 and the installation will get to 100% and then quit.  Can anyone help me with this issue?

  • Filter in Adobe Premiere Media Encoder, why so slow?

    Hi all, I got XVID that has a bit of block noise (especially part which moves fast). I find that I can 'mask' it by turning the filter option in Adobe Media Encoder. I know it blur things a bit but I find the block more offensive for my eyes. The pro

  • Adding Link to Form Button?

    Hello, I have three forum buttons. I want to add a link to another webpage in two and have another one to download a PDF file. My question is" how in the world do I add a hyperlink to a forum button? I would think it is so easy but it's not! Does thi