Webservice from WSDL - Endpoint URL unchanged

Hi all,
I'm following the JDeveloper tutorial here....
http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_17/ccset17_ALL.html
...in this the endpoint URL is left as http://www.example.com - this gets transformed into....
http://localhost:7101/ServiceFromWsdl-Project1-context-root/RatingServicePort
...I believe at the point the webservice is generated from the WSDL.
I have a couple of questions....
1. Where does it get the localhost & 7101 from - at the point of generating the webservice how does it know where I want to deploy it ?
2. When I generate my webservice from WSDL my URL is left unchanged - it deploys ok to my SOAServer (not the JDeveloper integrated one) but not with the endpoint I used in the WSDL - how do I find this endpoint ?
Thanks
MarkF

OK, I managed to find the endpoint by hacking a few bits of information together....I assumed the port number because I knew the HTTP port number for my SOAServer, the context root is displayed in the deployment log, I then tagged on the Port Name from my WSDL .... et voila !
Still begs the questions....
1. Is it supposed to overwrite the URL in my original WSDL ?
2. Is there no easier way of finding out the endpoint for a deployed WS ?
Thanks
MarkPF

Similar Messages

  • JAXWS Webservice from WSDL - Compilation errors in schemas

    Hello,
    I am creating a webservice (Java EE1.5 JAX-WS ) from wsdl .
    When I build the artifacts in JDeveloper, I get few compilation errors related to schemas.
    Error(5412,31): com.service.gsrl.FingEvntType.FINGEVNTENTR.ROLEPLYR is already defined in com.service.gsrl.FingEvntType.FINGEVNTENTR
    •     GSRL_Vers7_Rls21.xsd and DALGSRLService.wsdl both define a ROLE_PLYR and FINGEVNTENTR element.
    There could be a conflict when mapping this to Java class names.
    Not sure if there is a way around in JAX-WS and if this is a bug.
    Any one faced this ort of issue? How to resolve this??
    Appreciate your help.
    Thanks,
    Ram

    There are few problems with your WSDL
    1. targetNamespace in schema section is missing trailing '/', it should be 'http://10.25.98.19:8080/dart/'
    2. in portType section 'fault' element is missing 'wsdl:' prefix, it should be '<wsdl:fault>'
    3. in binding section type is wrong, it should be 'tns:DartServicesImpl'
    4. Also fault element is wrongly defined in binding section it should be
    <wsdl:fault name="DARTException">
    <soap:fault name="DARTException" use="literal"/>
    </wsdl:fault>
    Hope this helps.

  • 10.1.3 java webservice from WSDL = nullpointerexception

    I'm playing around with attempting to hit the following webservice:
    http://209.234.155.41/medicalresource_ws/medicalresourceservice.asmx
    Using their supplied ...?WSDL and my current Jdev environment 10.1.2, I was able to create the stubs and successfully receive data. Then they added security (username token) and I was unable to figure out how to get this working.
    So, I read some posts that 10.1.3 was a bit easier to do this but I can't even get past selecting New... Java web service from WSDL - I get this error immediately:
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatformFromWebPath(PlatformUtils.java:190)
         at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatform(PlatformUtils.java:126)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:132)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
         at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Thx,
    RT

    I'm playing around with attempting to hit the following webservice:
    http://209.234.155.41/medicalresource_ws/medicalresourceservice.asmx
    Using their supplied ...?WSDL and my current Jdev environment 10.1.2, I was able to create the stubs and successfully receive data. Then they added security (username token) and I was unable to figure out how to get this working.
    So, I read some posts that 10.1.3 was a bit easier to do this but I can't even get past selecting New... Java web service from WSDL - I get this error immediately:
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatformFromWebPath(PlatformUtils.java:190)
         at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatform(PlatformUtils.java:126)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:132)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
         at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Thx,
    RT

  • NullPointerException received on creating webservice from wsdl with jdevel

    Hello experts,
    I have the following problem when trying to create a web service from a wsdl file:
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1054)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    I'm using Jdeveloper 11.1.2.2.0.
    Any ideas?
    Thanks in advance and best regards!
    Edited by: Carolik on 23.10.2012 01:28

    are you trying access web service(old) which is free of cost.
    nowdays, most of the webservices(free of cost) they are re-locating the service to somewhere else
    anyhow, some of the service had been stopped.
    so please post which web service are you trying access(if it belongs to public).
    if it is private web service dont post here

  • Webservice from WSDL with imported XSD

    Hi all,
    Firstly, as a newbie to Jdeveloper forgive the ignorance....
    I'm trying to create and deploy a webservice (created top-down).
    I have an XSD, and a WSDL which imports this via a relative reference of the kind ../../ etc. - this validates OK in JDeveloper
    When I try to deploy this to WL I get a file not found error for this XSD, it can't find the XSD in the packaged archive to be deployed.
    So my question, for the import statement in my WSDL which is currently....
    <xsd:import namespace="http://xml.netbeans.org/schema/LoanApplication" schemaLocation="../../../LoanApprover.xsd"/> (i.e. XSD directory relative to WSDL directory at design time)
    ...what do I need to change it to so that when packaged it can find the XSD ?
    Thanks in advance
    MarkF

    Solved on JDeveloper forum.

  • Webservice from WSDL

    Hi,
    I have a WSDL from which I would like to generate a web service , based on EJBs.
    I am aware of the way Java classes and EJBs are exposed as web services but would like to know if it is other way possible. i.e. I have the WSDL with me and would like to create a web service project from it using NWDS and deploy on WebAS J2EE engine.
    Regards,
    Amol

    Hai,
    Create a new project of type web services under that select deployable proxy.
    right click on the project new client proxy definition for the web service .
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
    regards,
    null

  • Generate document classes when creating WebService from WSDL using JAXRPC

    Can anybody tell me how i can generate request response document classes.Response is return type and request is its parameter of method (service provided by webservice).
    I had used cmd:
    wscompile -keep -gen:both -d src config.xml
    My config.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl
    location="wsdl\TroubleTicket\v1-2\JVTTroubleTicketSession.wsdl"
    packageName="src">
    <handlerChains>
    </handlerChains>
    <namespaceMappingRegistry>
    </namespaceMappingRegistry>
    </wsdl>
    </configuration>
    After running the wscompile command, i was able to generate SOAPBuilder classes, LiteralSerialiser files, Request-Response-Exception classes and the Tie, stub, Port and Impl classes.
    How can i procedd furthur???

    Arushi,
    I would refer to the online tutorial for JWSDP, which walks you through creating a web service and a Client to the service.

  • Webservice from WSDL XML

    Hi All
    I have a WSDL file in xml format.
    To create a model in webdynpro, how should i proceed ?
    Should i select Local File System or URL ?
    How can i create the URL for this WSDL ?
    What would be logical destinations ?
    Please guide me . I am new to all this.
    Thanks in advance. Person answering will be rewarded.
    Regards
    Sonal Mangla

    Hi,
    The following references should address all your queries:
    This document describes the steps involved such as choosing the wsdl source -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b04308ed-62d5-2910-b3a6-c26771b1c78e
    For logical destinations refer -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Also have a look here-
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/7d207cbbf75918e10000000a1553f7/content.htm
    Rgds,
    Anagha

  • Creating a WebService from WSDL

    Dear PI-Experts,
    I'm new to the whole XI / PI topic and am currently wondering about the best approach implementing an ABAP based WebService  to match a given WSDL Interface in regards of Methods / Fields. 
    Is there anything similar to the automatic generation of client proxies which could help me to create the needed FM interface for the service?
    Thanks in advance,
    Eddy

    Service enablement using ABAP - guess this should sort things out for you
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b63e8f-a4bb-2a10-e9b1-ba803fd06739?quicklink=index&overridelayout=true

  • Build WebService from WSDL using ADF as ORM

    Is it possible to build a Web Service having the WSDL file that uses ADF as an ORM in back end.
    Is there any way in Jdeveloper to specify those combined technologies when creating the artifacts.

    Not quite true. ADF BC is a ORM Framework.
    --olaf                                                                                                                                                                                                           

  • JDeveloper 10.1.3.2 - how to create a stub from WSDL?

    Hello to all..
    I have installet the last version of Jdeveloper.. since this I used JDev 10.1.2...
    Can anybody help me how can i make classes (stub) from WSDL?
    I have a WSDL file located on remote HTTPS server.. In JDev 10.1.2 i get error when i like to connect on https to retrive data...
    But in JDev 10.1.3.2 I can't find a function to create a stub from wsdl..
    There is only a option to create a java webservice from wsdl.. (but this will create a new webservice (right?)..
    so.. how can I create a stub from remote wsdl..
    best regards

    Another question...
    For retriving information i must install a certificate...
    I installed it for mozilla and explorer.. so if i acess to the url i get the wsdl definition
    picture 1: http://freeweb.siol.net/peterv6i/picc2.jpg
    In JDeveloper i get error DCA-40002
    here is the picture: http://freeweb.siol.net/peterv6i/picc1.jpg
    how to acess to wsdl if it requires a certificate?

  • Create WSDL from SOAP request, response and endpoint URL

    We have a program that does not create WSDL for us but we do have a SOAP request, response XML file and the endpoint URL as well.
    How can I create WSDL file from these?
    If that is not possible, how can I create a Java web service client (JEE 5.0) when I have only the SOAP request and response XML and the endpoint URL? Some tutorial or any explanation to point me to the right direction would be highly appreciated.
    Thank you very much,
    Genti

    The endpoint is:
    http://servername/appname/service/rpcrouter
    and we have SOAP request and repsonse that we can build from the application but also the documentation that is provided
    The documentation says about the web service:
    Built on top of a pre-Axis version of Apache SOAP
    No WSDL support
    Uses literal encoding for Web Service calls
    Adding WSDL at the end of the endpoint does nothing at this point.
    Thank you for the reply though,

  • Webservices endpoint url

    hi,
    I have a following scenario:
    Webclient-->PI 7.0--
    > SAP ECC
    Using Sender Soap Adapter for connecting webclient
    Between PI 7.0 & sap ecc system it is proxies.
    A webclient sending a request details of customer number and Cutomer Description through PI to SAP ECC system.
    In turn SAP ECC SYSTEM giving the response details to webclient through PI 7.0.
    i am creating the webserivce in Integration Directory  based on message interface of Customer Reponse_Outbound.
    How can see the webservices by the following enpoint url
    http://host:port/XISOAPAdapter/MessageServlet?channel=:sample_all:RetrievecustomerRecord_SOAP_Sender
    I hope the above is the endpoint url....
    What i will see in WS Navigator.
    I need ur help friends

    By the URL ,data will be posted from 3rd party web client.
    You just need to provide the wsdl(which you have already done), the url which I have given above and the userId/pwd(xi) for connecting to XI server.
    A Guide to Using SAP XI SOAP Adapter
    http://www.riyaz.net/blog/index.php/2008/03/16/xipi-a-guide-to-using-sap-xi-soap-adapter/
    Invoke Webservices using SAPXI
    Using the SOAP inbound channel of the Integration Engine
    Debugging WebServices in a SOAP Receiver Scenario
    Testing XI exposed Web-Services
    How to use Client Authentication with SOAP Adapter
    Walkthrough - SOAP  XI  RFC/BAPI
    Achieving ASBO-GBO-ASBO scenario using SOAP Adapter
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI

  • Webservice Endpoint URL

    Hello,
    I have developed a Webservice Client in Netbeans 5.5 It al works perfect, but how do i change the URL for the ENDpoint or the URL from the webservice?
    Greetings

    I recently has the same problem and needed to change the webservice endpoint URL. I tried the above solution, it has one problem.. to get the port, we need to create an instance of service object. The service class generated by jax-ws (2.1rc1) contains code that tries to access wsdl which was used during build done using wsimport. This URL gets hardcoded in class file and if this hardcoded URL is not accessible from the machine on which app is running, the app throws an Exception.
    I figured a better solution is to use service constructor that accepts wsdl url as a parameter. The new URL may be loaded from a Properties file.
    You may still need BindingProvider if the service location needs to be changed later and you want to reuse the same service object.
    If anyone knows any better way to change webservice endpoint as the application move from dev to test to prod.. I will like to know.

  • Error after import external webservice(RFC) wsdl url to Process Composer

    Hi all,
    I try to use RFC webservice in my BPM as below:
    1. Expose RFC as webservice using CAF (import external service RFC and then create application service use this external service)
    2. Define Destination in NWA.
    3. Create a Process Composer project, and import the external webservice(RFC) wsdl file as service interface in the project.
    After importing, i get error : the port type specified for the ...binding is undefined. Check port type name and ensure it is defined.
    If i import another external service, not RFC (such as business object), there is no error.
    My system is NWCE 7.11
    Thanks in advance,
    Sinh.
    Edited by: Sinh Nguyen Van on Jul 20, 2009 8:29 AM

    Hi Bharath,
    Below is content of wsdl url and error message, thanks
    Error message:
    The 'zfm_rfc_caf_as' port type specified for the 'zfm_rfc_caf_asBinding' binding is undefined. Check the 'zfm_rfc_caf_as' port type name and ensure it is defined.
    wsdl url :
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" xmlns:b0="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as">
      <import namespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl?wsdl=binding&mode=ws_policy" />
    - <service name="zfm_rfc_caf_as">
    - <port name="zfm_rfc_caf_asBindingPort" binding="b0:zfm_rfc_caf_asBinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl" />
      </port>
      </service>
      </definitions>
    Edited by: Sinh Nguyen Van on Jul 22, 2009 4:18 AM

Maybe you are looking for

  • Cisco ASA Site to Site IPSEC VPN and NAT question

    Hi Folks, I have a question regarding both Site to Site IPSEC VPN and NAT. Basically what I want to achieve is to do the following: ASA2  is at HQ and ASA1 is a remote site. I have no problem setting up a  static static Site to Site IPSEC VPN between

  • "An Extended Memory Manager is Already Installed. XMS Driver Not Installed"

    I was having problems w/ itunes recognizing my new ipod, so I followed the suggestion from Apple, and deleted itunes and my previously installed ipod software (following the procedure step by step). I then attemped to reinstall itunes. I get NOWHERE!

  • Safari pop-up button invisible

    I have an original iPad. I am viewing a pop-up that looks different on my iPad than my friend's iPad. The popup had a list of text with two buttons at the bottom of the pop up. On mine, the buttons will show. On my friend's, the buttons are simply no

  • Validation rules - long time of promotion

    Hi guys, We have verry big problem that we need to resolve as soon as possible. On almost every form (we have about 100 of them) we have validation rules (on some even three or four rules). Every rule checks some values on form, and do not let users

  • IMac Intel Core Duo and ATI Video Drivers

    I was wondering if the latest ATI Catalyst drivers are compatible with the X1600 that comes in the Intel Core DUO iMacs. I wasn't sure if the driver needed to come from apple or not