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

Similar Messages

  • Acccount/Contact WSDL question

    I retrieve a record from the Account WSDL
    I then access the ListOfContact interface to get a Contact Record.
    In this Contact record is a field plPrimary_Position.
    I don't see any documentation for this field. Am I missing a docuement?
    My specific question is:
    When I look at the ContactRole field (which is a pick list in OnDemand) it has a list of | delimited Roles that Contact has for the account.
    When I look at plPrimaryRole sometimes it has data, sometimes it does not, sometimes it matches ContactRole.
    What is this field and what rules govern it?

    hi siva
    i am on the first step.,
    can you send some links or methods how did u done the whole process..
    *the tool u have used to generate all the above details.
    thank you for your kindly help
    regards
    sivakumar

  • PM's accesspoint and BPEL's WSDL question

    Hi all
    I am new to Oracle BPEL PM and JDev, and here are my questions:
    *. I have installed PM when i was connected in a local network, say my ip is 192.168.0.1. Every time i deploy a new process, it will automatically set the service's endpoint as http://192.168.0.1/blah..... After i changed my network area, every time i deploy a new service, its still at 192.168.0.1/.... so could anyone tell me how to change/set it accordingly?
    *. For JDev BPEL designer, automatic generated WSDL always include schema, how can i change this to define type schema directly in WSDL file otherwise the exposed service uses included schema which brings troubles when generating client stubs.
    *. JDev already provide asynchronism and synchronism patterns, but say syn for example, if i want to have multiple <receive> or <reply>, what can i do with the default pattern except creating a empty BPEL and add everything manually?
    Best Regard

    Hi,
    perhaps this helps for you first question:
    http://download-east.oracle.com/docs/cd/B32110_01/core.1013/b32196/host.htm#CHDGHFGE

  • 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

  • Proxy-config wsdl question

    When defining my destenatoin in the proxy-config.xml, Is it possible to point to a wdsl  located on the local file system?
    I am trying to connect TIBCO web-services which do not advertise the WSDL.
    -jh

    You peaked my interest so I did the following.
    FIrst, I found a simple service (calculate) online and copied it's WSDL to my local drive.
    http://www.dneonline.com/calculator.asmx?WSDL
    I added the file reference to it in my proxy-config.xml.
    <wsdl>file://c:/calculator.wsdl</wsdl>
    No luck!
    However, since I had the WSDL, I placed it on my local TOMCAT (LCDS) instance so that I could reference it via HTTP.
    <destination id="testWSDLFile">
    <properties>
    <wsdl>http://localhost:8400/lcds/wsdl/calculator.wsdl</wsdl>
    <soap>*</soap>
    </properties>
    <adapter ref="soap-proxy"/>  
    </destination> Once i did that, I could use the Data Service wizard in FlashBuilder and everything seemed to work. I was worried that I might have crossdomain issue-something to consider I suppose. Otherwise .. all good.
    Hope that helps some
    -bob-

  • 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

  • SOAP::Lite error message

    Probably this is not a right forum since I have Perl / WSDL question - but want to give it a try !!!
    I have written small perl program to call webservice available on webservicemart.com
    Script...
    #!/usr/bin/perl
    #SoapTest.pl
    use strict;
    use warnings;
    use SOAP::Lite;
    my $service = SOAP::Lite
    -> uri('http://webservicemart.com/ws/ValidateZip')
    -> on_action( sub { join '/', 'http://webservicemart.com/ws/', $_[1] } )
    -> proxy('http://www.webservicemart.com/uszip.asmx');
    if ($service->fault)
    print "errors";
    print $service->faultstring;
    } else {
         print 'Result = ', $service->ValidateZip('22031') . "\n";
         print 'Zip Code: ' . $service->ValidateZipResult . "\n";
    on execution this gets into $service->fault condition and it appears that I am not doing correct declaration of URI, proxy and Action
    Can anyone help me resolve this? TIA
    BTW - WSDL can be access at http://www.webservicemart.com/uszip.asmx?WSDL

    HI,
    When sending the RFC, send asynchronously, meaning call 'in background task' and 'commit work'. Since the QOS for this type of call is EO, the asynchronous nature will be propagated to the receiver end and you should see no response being generated.
    This can help you:
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    And Hope that you have removed expor parameters of RFC and reimported in to ESR.
    Let us know if this resolves your problem
    Thanks
    Divyesh Vasani

  • 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

  • Question about WSDL design

    Hi Forum -
    While designing WSDL in the design view I see the following 4 areas:
    1. Messages
    2. Port Types
    3. Bindings / Partner Link Types
    4. Services
    My questions are:
    1. When do we use the last part (Services)?
    2. I created a WSDL and added the service definition as well, how can I tell BPEL to use this definition?
    Thanks!

    Hi Ravi
    1. By any chance if you want to create a BPEL Process with your own custom WSDL, this is possible in latest SOA 11.3 version (If you have SOA 11.2, not sure if you have this option).
    2. Assuming you have SOA 11.3, in JDev, select your empty SOA Project -> Right click -> New. In this window on left side select SOA Tier -> Service Components -> and on right side select BPEL Process. This opens a new Create BPEL Process screen. In this screen, for the third option Template, click on the drop down list and select "Base on a WSDL" option. And you will see below WSDL Details. For this click on right side icon and browse and select the .wsdl file. Select rest of the details. There is another option like define services later. I did not tried this option though.
    For earlier versions like SOA 11.2, after creating the BPEL process with default operation named "process", I used to manually edit process.xsd to replace with my custom .xsd schema but use the same process operation. Its just that the name was still process only for the operation.
    If your requirement is something else, please elaborate in detail.
    Thanks
    Ravi Jegga

  • A question about xrpcc and WSDL

    I am following JWSDP1.0 tutorial. I can install and run the sample. But I never see how to generate WSDL file.

    Hi there,
    Just to confirm, in the final release of JAX-RPC 1.0 RI you need to specify -keep on the xrpcc command line. Otherwise the wsdl file is deleted after compilation completes.
    I'll see if I can find out the logic behind this change.
    Thanks
    Amanda
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers

  • Question about portnumber in wsdl

    Hi,
    Iam new to wsdl. How can I create a WSDL with no port numbers in the WSDL Location. What changes should I make.
    I want it to be:
    http://services.talk.com/ComRetreive-ComRetreive-context-root/ComRetreive_WS?wsdl
    rather than
    http://service.talk.com:10014/ComRetreive-ComRetreive-context-root/ComRetreive_WS?wsdl
    Thanks

    You need to cinfigure your Application Server to run on port 80.
    I have never seen a Webservice running on that port for that matter, but I might just be me.
    cu
    Andreas

  • A question about WSDL?

    Hi.
    The element of 'PortType' is unique in the enclosing WSDL file, how about the element of 'Operation'?
    Thanks,robin.

    Hi Robin,
    If you only look at the WSDL spec, there is no requirement on the operation name to be unique. When using overloading, the operation name can be unique.
    However, to improve the interoperability level of your implementation, you should follow the recemendation from the WS-I Basic Profile:
    "R2304 A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes."
    http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16614152
    Hope this helps,
    Eric

  • Question for download WSDL

    what is this error?
    how can solve?
    Cannot download WSDL from http://bj-ep.demo.com.cn:50000/GRMGWSTest/service?wsdl&style=rpc: Cannot connect to http://bj-ep.demo.com.cn:50000/GRMGWSTest/service?wsdl&style=rpc: bj-ep.demo.com.cn

    hi luo,
    check web service link is working/alive by placing it in normal browser, usually it would return WSDL ( description in XML) format.
    if it is okay and not getting wsdl in NWDS, enter proxy in NWDS. Window-Preference-Workbench-Proxy settings.
    nikhil

  • Invoking a WS from BPEL - WS URL is hardcoded in the WSDL

    I have published a PL/SQL package as a webservice and deployed it successfully to a development instance (say DEV).
    I created a BPEL process and used a Partner Link to invoke the above web service. When I deploy the BPEL process to the DEV instance, it works fine. However when I deployed the above WS and BPEL process to another instance (say TEST), the BPEL process still calls the WS in the original (DEV) instance. I verified by invoking the WS in the TEST instance and it is working fine.
    When I created the partner link in the BPEL process, I had to provide the actual WS url from the DEV instance and it created the WSDL for me. This probably is causing the issue as the DEV WS url is hardcoded in the WSDL. However I do not know how to provide the WSDL in the partner link so that url/server name is not hardcoded.
    Any help with this is greatly appreciated.
    JDev - 10.1.3.4
    SOA Suite - 10.1.3.4
    Thanks.
    Edited by: user13163442 on Jul 21, 2011 1:10 PM

    Naren,
    Thanks for looking into this.
    Yes, the web service is calling a packaged procedure which is available in both the environments. This web service is independent and may be used by other BPEL processes or other applications too.
    I developed the WS & BPEL process in the dev environment and then deployed to the TEST environment. I did not make any changes to the BPEL & WS before deploying to TEST. The only change I did after deploying the WS to the TEST environment is to map the jndi.
    I am not calling the package directly -- I want to consume the WS.
    I am not sure about the Composite? Is this something in SOA 11g? I am still on SOA 10.1.3.4
    Is this helpful? Did I answer your questions correctly?
    Thanks again.

  • Can not open the WSDL in a Deployed web service

    I finished a JAXRPC based web service, packaged a war file and then using WSDEPLOY to produce a new war file. The new war file was deployed to Sun APP Server and everything seemed to be fine. But when I tried to open the url, the page displayed many question marks (not encoding problem, I tried many encodings but no change). The following is a copy from the browser (originally in a table, becomes mess here)
    Web ??
    MetSoapEndpoint ???
    ??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint
    WSDL? http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
    ?? QName? {http://www.agmodel.org/Schema/MyWS/2006/02/MyWSEndpoint}MyWSEndpointPort
    ????? net.agmodel.myws.mysoap.jaxrpc.MyWSEndpoint
    ???? net.agmodel.myws.mysoap.MyWSEndpoint_Impl
    ??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint???
    And I tried to open the WSDL by clicking on the above WSDL address, but get the following error message:
    XML Parsing Error: no element found
    Location: http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
    Line Number 1, Column 39:<?xml version="1.0" encoding="UTF-8"?>
    I also tried to deploy the service to JBOSS 4.0.4, got exactly the same result.
    Anyone can help me?
    Thanks a lot.
    xinwen

    Nobody answered...
    May bcoz it was on AXIS2.... no issues guys..here is the solution
    Webservice technology is also based on Servlet based techology only
    so in AXIS2 webservice class, implement org.apache.axis2.engine.ServiceLifeCycle interface. You'll get 2 methods here -
    void startUp(ConfigurationContext arg0, AxisService arg1) and
    void shutDown(ConfigurationContext arg0, AxisService arg1)
    these are nothing but init() and destroy() of the servlet.
    Inside these methods u can get servlet context parameters by getAttribute(string) and initial parameters of the servlet by getInitParameter(string)
    Edited by: Neo2001 on Feb 18, 2008 2:31 PM

Maybe you are looking for

  • Setting up an external content type without having to change it to NTLM authentication?

    Referring to: https://www.kenplaysviola.com/content/sharepoint2010-business-connectivity-path-unavailable and tested to be true. However, I have a site that I am not using NTLM - is there a way around this??? 

  • P205D-S7802 Sound troubles in XP

    For various reasons I had to downgrade from vista to xp a few months ago on my P205D-S7802, and have not been able to use sound since.  The system says no sound card is installed.  I don't recall everything I went through installing xp a few months a

  • View Object Index Lookup Into The View Object Cache

    Simple question ... and I feel somewhat stupid for asking ... but I'd really like to make an effort here to take advantage of view object caching as opposed to killing our database. Situation: I have a lookup table called CodeValue which has two fiel

  • Error: Exception in thread "main" java.lang.NoClassDefFoundError:

    Hi I have seen this problem on a few forums but have not found an answer that works for me, sorry if missed it!! The command I am giving is: C:\Program Files\Rococo\ImprontoSimulator\examples\echo\bin>echo-server Exception in thread "main" java.lang.

  • Any advice for purchasing an External Superdrive?

    Hi, My Aluminum iMac's superdrive is starting to fail and I have been advised by my local Apple repair service that it would cost me about $371 for the new drive and labor. They said that I should just get an external superdrive and it would be a lit