Mapping webservice url

Hi,
Is there any way I can map my webservice similar to the way you map a Servlet
in the web.xml?
ie.
currently my webservice url is:
http://localhost:7001/Inventory/mtn/inventory/InventoryService.jws
I would like to make it something like:
http://localhost:7001/Inventory/InventoryService
Thanks
Lomeus

Hi neeraj,
Thank you very much for your response.
As you mentioned about A ,B and C,
I will explain about the usecase in those terms.
A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
That was the reuirement.
In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
I hope this has given clear picture about the requirement.
Can u give guidance in this regard?
Thanks in advance.
Please help me out as it is very critical.
Edited by: 899283 on May 29, 2012 12:21 PM

Similar Messages

  • Mapping schema one Webservice Url to another Webservice URL

    Hi ,
    I am working on Webserivce to Webservice communication(converting one response URL format to another response URL format) through SOA suite.
    The usecase: I have one Webservice URL(WSDL URL) which contains UniqueID,name etc in that scehama.
    I have to communicate with another web service url (Helloworld url) which contains some String in its schema.
    SO I want to convert Helloworld URL(one response URL) schema to first Webservice URL(which contains UniqueDI,name etc,I have get the response format of UniqueID,name etc from HelloWorld URL which gives response like 'Helloworld name'.
    So how do u do this?
    I hope u understand my problem,I need to get this done as soon as possible.It is very urgent.
    If u guys want me to talk on phone,I will talk and explain the situation on phone.
    I am from bangalore.I can talk to any phone.
    Please help me as it is critical situation for me.
    Thanks in advance

    Hi neeraj,
    Thank you very much for your response.
    As you mentioned about A ,B and C,
    I will explain about the usecase in those terms.
    A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
    I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
    A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
    The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
    I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
    That was the reuirement.
    In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
    How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
    I hope this has given clear picture about the requirement.
    Can u give guidance in this regard?
    Thanks in advance.
    Please help me out as it is very critical.
    Edited by: 899283 on May 29, 2012 12:21 PM

  • Call Webservice URL with multiple methods in PI 7.0

    Dear Gurus,
    I have the following requirement:
    I need to make multiple calls to a same webservice (URL) which have multiple methods on its WSDL. I know it is possible in PI 7.1. But is it possible in PI 7.0?
    I have already designed and configured the scenarios and generated ABAP Proxy. When I call the endpoint without specifyng the method I got the following message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Endpoint {http://mywebserviceurl.com} does not contain operation meta data for: {http://mynamespace}MyMessageInterface</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please somebody could help me to solve this issue?
    Thank you in advance.
    Fabio Purcino

    >>. But is it possible in PI 7.0?
    Just few cents..
    Test using SOAPUI or  XMLSPY and use that same WSDL URL in the target URL of Communication channel. Just to make sure you use the right endpoint.
    or
    You can specify the method name as  soap action dynamically using udf in mapping and see how it behaves.

  • Setting the webservice url at run time for a execute button in adobe form

    Hi,
    I am using Data connection from the wsdl file to interact with the backend, the button generated from the data connection is of type execute which has the url of the webservice in the object property "Webservice URL" and name of the FM in the interface name. My problem is at present the form is working fine but when the same form transported to QA and PRD them the url of the webservice gets change. hence the same button wont function.
    The solution is either we do the changes manually in all the system or pass the url at run time. Please proide me the solution if there is a way to set this url in the execute button at runtime.
    Thanks in advance.
    Pooja

    Why don't you pass in the URL via an XML input file and bind a hidden text field in your form to that element in your XML? Then use javascript to modify the docReady event of the submit button to something like this:
    var url = textFieldWithURL.rawValue;
    this.event__click.submit.target = url;

  • Question re: purpose of webservice URL

    Hi.
    I am slowly going through the VideoPhoneLabs example.
    Trying to figure out the line of code below at the start of the <mx:Script> block...there doesn't seem to be any other references to the WebServiceUrl in the project so not sure what the purpose of the variable is. Cheers.
    //please insert your webservice URL here for exchanging
    private const WebServiceUrl:String = "your webservice URL";

    Oops!
    Just found the PHP stuff I was looking for: http://forums.adobe.com/message/1068738#1068738
    Nice.

  • Mapping webapp URLs to a single servlet which forwards to JSP

    I am using JSP for page presentation, but I want to have all requests
              intercepted by a servlet, which will perform various functions before
              forwarding to the requested JSP page. In general, I want the URL to
              reflect the target JSP page, to facilitate bookmarking. I'm using a
              web application to deploy the servlet+JSPs.
              Ideally, I wanted to have all request URLs look like a request for the
              JSP page without the .jsp extension (so
              http://hostname/webapp/here/there maps to /here/there.jsp within
              webapp). However, I can find no provision in web.xml for mapping all
              URLs without extensions to a specific servlet. I can use '/' to map
              all requests to the servlet, but then even image or HTML requests
              get intercepted (and trashed).
              On the other hand, if I map '*.jsp' to the servlet, then when I try to
              forward to the actual JSP page, the servlet gets invoked again
              recursively.
              I could create an arbitrary extension and map it to the servlet, and
              then have the servlet replace my custom extension with '.jsp' before
              forwarding, but this seems a bit funky.
              Has anyone come up with a better solution to this, within the context
              of a webapp? Seems like it should be a not-uncommon scenario.
              Thanks,
                                  -- Peter
              

    Yes, you can! It depends on how you access the servlet. If you access it via GET method you must add a request parameter to the url to distinguish from which jsp the request comes. If you use POST method (with form submission) put a hidden field in the form and with that field you can recognize from which jsp the request comes.
    Message was edited by:
    amittev

  • Passing WebService URL Dynamically in BPEL

    Hi,
    We have requirement to Call the WebService URL dynamically to BPEL Process. Currently Websevice URL is hardcoded in WSDL file and our Client has changed their URL recently. We need to Change the URL in all the BPEL Process (Totally 10 BPEL Processes). We are thinking of the following approach but we are not sure whether its works.
    1. Store the URL in Profile
    2. Retrive the URL Value in BPEL Process and Pass it to the Web Service at Run Time
    3. This will avoid the hardcoding of URL in BPEL Process and in case of any change in the URL in future, then we can change the Profile Value instead of all the BPEL Process.
    Any Help on this is highly helpful.
    Thanks in Advance,
    Saravana

    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
    - hth
    Ketan

  • Invalid webservice url

    Hi All,
    I am trying to access a webservice. The webservice is located under
    http://www.webservicex.net/globalweather.asmx?wsdl
    But whn I define a webserivce system it says that <i><b>Invalid webservice url</b></i>.
    I am not able to figure out wats wrong.
    Please provide your comments.
    Thanks in advance
    George
    NB: I am following /people/scott.cairncross/blog/2006/10/11/building-a-web-services-based-visual-composer-application, this blog.

    https://wiki.sdn.sap.com/wiki/display/VC/WebServiceInvalid+URL

  • Modify  webservice URL

    Hello,
    I am in need to modifying the a webservice URL at runtime. I used the improt wizard to import my webservice.
    I see its defined in the .settings/webservices.xml file but i dont know how to access that via code?
    Can this be done ?
    Drew

    It was possible and probably still is.  You would have had to have figured it out on your own, which is the same in this case. 
    Infoview has changed considerably in 3.1 so it doesn't surprise me that the URLs have changed.  You will need to investigate the links yourself if you plan on trying to use them in an application as we do not have any documenation on the links or locations.
    Also, none of the url parameters and such are documented since they are for internal use only so I can't tell you what any of them mean.

  • WebService URL in Admin and Managed Server????

    All,
    WLS configuration:
    Admin Server:7001
    Managed Server:7003
    Both Admin and Managed Servers reside in the same machine.
    Which is the correct URL for accessing the webservice?
    http://localhost:7001/test/testWebService?WSDL
              OR
    http://localhost:7003/test/testWebService?WSDL
    WLS configuration:
    Admin Server:7001
    Managed Server:7003
    Managed Server:7004
    Both Admin and the 2 Managed Servers reside in the same machine.
    Two managed Servers form the cluster.
    What will be the correct URL to access the webservice
    http://loclahost:XXXX/test/testWebService?WSDL
    what is XXXX???
    Thanks
    Jay

    Services will be deployed in managed servers only.
    Then in the first case it will be
    http://localhost:7003/test/testWebService?WSDL
    In the second case, wherein 2 Managed servers are there.
    What will be the accesing webservice URL?? when the services are deployed in both.
    Will the admin server redirect the requests to the managed servers??
    How do I access???
    Thanks
    Jay

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • Webservice URL from WebI to Live Office

    Hi All,
      I am getting the report from WebI and after that i would like to use that report into my Live Office.
    I am not able to understand how to get the Webservice URL to the Live Office.
    Do we need to save the WebI report in the repository?
    Could any one pls guide me step by step.
    Advance thanks
    Muvva

    I resolved...
    Thanks
    Muvva

  • How to change dynamically the Webservice URL

    Hi,
    I added a webservice to my projet from a WSDL.
    As my application needs to fire this webservice towards different servers, I set dynamically the URL in my code. Here is the problem. When I point to the initial server (the one I got the WSDL from), everything is fine. But when I want to fire the webservice toward another machine, my code is not taken into consideration and my application still communicates with the initial server !
    I have something like:
            URL url = null;
            StuffService stuffService = new StuffService(RIOT_url, new QName("http://web.stuff.com/", "StuffService"));
            Stuff stuffPort = stuffService.getStuffPort();
            try {
                url = new URL("http://localhost:3337StuffService/Stuff?wsdl");
            } catch (MalformedURLException ex) {
                Logger.getLogger(Page1.class.getName()).log(Level.SEVERE, null, ex);
                  //USE THE WEBSERVICEIs there something wrong in my code ?
    Do I need to change some files in the project ?
    Thanks for your help

    This has nothing to do with JSF. Rather post webservice related questions at the webservice forum: [http://forum.java.sun.com/forum.jspa?forumID=331]
    Back to the actual problem, are you using a webservice proxy? A proxy should be able to pick up the URL and port the request.

  • Setting up a webservice url for consumption in browser

    Hi,
    I am new at webservices and all this fancy stuff...
    I managed to set up a webservice wrapper in NW Developer
    Studio for my stateless session bean endpoint creating an order in our 3rd party erp system.
    So far so good, I ceated a client proxy and a client jsp for testing purposes, and that works as well.
    But I cant manage to find out how to call it directly
    from a web browser, so that it posts the order and
    returns with the result string. I tried the following:
    http://host:50000/OrderRequestForEBasis/Config1?wsdl
    &endpoint=Config1Port_Document
    &operation=public abstract test.types.p2.OrderRequestResponse test.OrderRequestForEBasisViDocument
    .orderRequest(test.types.p2.OrderRequest)
    throws java.rmi.RemoteException,
    test.RemoveException,
    test.Exception
    &formStatus=SUBMIT
    &formAddElement=
    &formRemoveElement=
    &iparameters_orderRequest=
    <<parameter 1 holding an XML string>>
    &iparameters_system=
    <<parameter 2 holding additional info>>
    But that instructs the WAS to respond with the
    webservice test web page.
    Thanks for any hints
    Matthias

    Hi Matthias,
    What you did is correct. You need to create client proxy and some front end application to call your web service. You cannot directly call any web services without doing all these things.
    Url you have given is WSDL of your web service. Based on this description you need to create proxy for that. You cannot directly communicate with that.
    Regards,
    Bhavik

  • XML not well formed - Java Mapping, Webservice to RFC Scenario

    Hello All Experts,
    I have facing a strange type of error. I have written a Java Mapping which implements a DOM parser to take a request from a Webservice and validate it on the basis of some prerequisites. i.e. If data in the incoming request is valid, it creates a message of the same structure type as the input. If the incoming data is incorrect or incomplete; It generates an Error response structure.
    When I run and test the same mapping program using Editplus Java editor for the error scenario; it executes perfectly and creates the correct error XML structure. (I checked it by importing the structure in the XI Message mapping test tab). But when I create jar of my java mapping program and test it in my interface mapping, it gives me "XML not well formed error" (Problem while building the tree).
    Any idea as to why is it behaving in such a way? There are 2 reasons which come to my mind as of now:
    1. The initilization of my input and output streams in the public static void main:
                InputStream in = new FileInputStream(new File("Input.xml"));
               OutputStream out = new FileOutputStream(new File("Output.xml"));
               validateXML myMapping = new ValidateXML();
                myMapping.execute(in, out);
    The Output.xml has the xml structure for the correct case, do I have to initialize my outputstream for the error file? say error.xml
    2. My Webservice interface is a sychronous interface (Request / Response) and output of the Java mapping program are two asynchronous interface. (I'll use a synch-asynch bridge when this works) - Is that causing a problem?
    Please help.
    Best regards,
    Varun

    Hello Varun,
    it gives me "XML not well formed error" (Problem while building the tree).
    I have come across the same error message while testing in interface mapping. My problem was when an exception occured in java mapping, the execution terminates with the messages XML not well formed error". In order to solve this issue what i did was catch the exception type TransformerException and in that catch block throw StreamTransformationException exception in main methos of mapping program i.e execute().
    eg:-                                                                               
    catch (TransformerException e) {
                   throw new StreamTransformationException("Can not write XML.", e);
    By doing this you will see the exception raised , because some times when you execute your mapping with mail() method, though it create the file, when you try to open it will give error if any exceptions occured in mapping. By using the above notation you can handle those in java mapping.
    Hope you have gone through this blog.
    [Handling and Tracing Exceptions in java mapping|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID1055371050DB01666765031379427182End?blog=/pub/wlg/15061]
    Regards,
    Prasanna

Maybe you are looking for

  • GR- Based IV - Goods receipt-based Invoice verification

    Hi, I am trying to make a new purchase order type all equal to the standart type. I only want an exception: the GR-based IV indicator must be, by default, off. This indicator specifies that prevision has been made for goods -receipt base invoice veri

  • Zen Extra -problem with "add to Play " but

    Hi I have a creative Zen Xtra, bought it just a week ago, and liked it a lot, (Except the size ...) but i think i am having a problem with it. If I have to create a play list, while I am playing songs how to do it ? Lets say i am playing song aa from

  • Oracle Workflow Manager, Agent Listener, and Java Mailer problem

    Hi, I am not sure this topic to this forum, since this might be installation issue. But I am hitting a big wall. I had Windows 2000 SP4. I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone prev

  • Error Handling - jbo25013 bug? - and workaround

    When I insert a record with a duplicate key and use errorpage.jsp to catch the exception(s), then every legitimate insert I do thereafter produces the same exceptions ie. JBO-26041, then JBO-25013. A workaround for this is to surround my submission c

  • Need help with this query

    Hi, I am using SQL Server 2008 Enterprise edition 64 bit on Windows serer 2008 enterprise edition 64 bit. The below query works fine. I am trying to rewrite the code without using the sub query. In the end i should get the same results for both the q