How to find the URL of deployed Web services?

Hi,guys. I have created a Web service, and deployed to WAS.But where is the accessing URL? WAS has created several WSDLs for the serviece, but I can not find the URL in the files.
I think that the URL looks like "http://localhost:50000/XISOAPAdapter/MessageServlet?channel=:WAS2:CC_GIS_Equipment_Create_SOAPOUT&version=3.0&Sender.Service=WAS2&Interface=urn%3Azpepc%3Agis%3Aequipment%3Amaintenance%5EMI_GIS_Equipment_Create"

my accessing code is:
public class VacationClient {
     public static void main(String[] args) throws Exception {
          System.out.println("SOAP call start");
          VacationClient helloSOAPClient = new VacationClient();
          String resultValue = helloSOAPClient.doSOAPRequest(
                    "VacationCheckerService", "getVacationDays",
                    "employed_years", 20);
     public String doSOAPRequest(String _strURI, String _strMethodName,
               String _strName, int _strValue) throws Exception {
          Call call = new Call();
          call.setTargetObjectURI("urn:" + _strURI);
          call.setMethodName(_strMethodName);
          call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
          Vector params = new Vector();
          params.addElement(new Parameter(_strName, Integer.class, new Integer(
                    _strValue), null));
          call.setParams(params);
          System.out.println("开始");
          Response resp = call
                    .invoke(
                              new URL(
                                        "http://10.136.31.121:50000/TestWeb_Config1_SoapServlet"),
          if (resp.generatedFault()) {
               Fault fault = resp.getFault();
               System.out.println("failed!");
               return "failed!";
          } else {
               Parameter result = resp.getReturnValue();
               System.out.println("sucessful!"+result.getValue().toString());
               return result.getValue().toString();
But the URL is not correct ,and an exception is throwed:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Software caused connection abort: recv failed; targetException=java.net.SocketException: Software caused connection abort: recv failed]
     at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:358)
     at org.apache.soap.rpc.Call.invoke(Call.java:248)
     at test.VacationClient.doSOAPRequest(VacationClient.java:44)
     at test.VacationClient.main(VacationClient.java:18)

Similar Messages

  • How to find the URL of precalculated query

    Hello,
    I would enter into a precalculated query direclty the URL; is it possible?  How to find the URL ?
    Thanks.

    Hello Arvin,
    I have created a Web Template, and through the Reporting Agent, I run the query.
    Regards,
    Laura

  • How to find the hidden objects in Webi Rich client  report 4.0 sp 04 ?

    Hi,
    How to find the hidden objects in Webi Rich client  report  at BI 4.0 sp 04 ?
    Best Regards,
    ASR

    Hi Sai,
    Go to Report Element Tab-->There you have a Tab Cell Behaviors.
    When you flip between 'With Data' and 'Structure Only' under 'Design' Tab,you can see the some cells will be hide/Un hide behavior,if hiding of cells applied.
    Select that cell and then Under 'Cell Behaviors'-->'Hide' Tab-->and choose Show Option.
    Regards,
    Venkat P

  • How to find the urls that are longer than 260 characters

    Hi
    I'm getting an error using Restore-SPSite thats most likely caused by URL's longer than 260 characters. How can I find out which URL's are too long? It's a huge site collection so it's not an option to search manually.
    Regards
    Jakob

    check this blog, allows you to take an inventory of all files in your web application and flag those files where the path (or URL) is longer than 260 characters.
    Locating files and pages with URLs that are too long for SharePoint
    Also check this: http://social.technet.microsoft.com/Forums/en-US/881d62e6-08c3-43b6-a9f1-96161ffa0201/how-to-write-a-powershell-script-to-find-the-url-path-length-of-all-the-files-and-folders-in?forum=sharepointdevelopmentprevious
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to find the URL of website

    HI,
    My Web hosting company have created the instance of Web Tools in the web server but they are not sure on the URL part when creating the instance. I also do not have privileges to look into the IIS. 
    Does web tools stores the URL information any where? How do I find the URL for that website?
    Thanks in advance for any Suggestions!
    Regards,
    Mohan

    Hi Bryce,
    Thanks for the suggestion!
    I have tried the domain name with folder name ‘WebDemoUK’ created during the website instance creation. The installation path is correct as in the error message. What might be reason for this error?
    Domainname/B1webtools seems to point to old web site.
    Server Error in '/WebDemoUK' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: The entry 'connString' has already been added.
    Source Error:
    Line 4:      <add key="PrivateKey" value="OZMwWiKEqv3G1" />
    Line 5:    </appSettings>
    Line 6:    <connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
    Line 7:      <EncryptedData>
    Line 8:        <CipherData>
    Source File: C:\home\13597\algeosftp\www.foothealthcare.com\WebDemoUK\web.config    Line: 6
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
    Regards,
    Mohan
    Edited by: Rui Pereira on Dec 29, 2008 6:38 PM

  • How to find the BADI'S in Web Dynpro ABAP

    Hi Experts,
    I'm new to Web Dynpro ABAP. Can any one tell me, how to find the BADI'S for standarad components like i.e DEMO_ROADMAP .Please tell me, steps/procedure to find the BADI'S in WDA.
    Thanks ,
    Chaitanya
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Jun 18, 2011 4:30 PM

    Hi Nagaraju,
    There is another fool-proof method to find BADIs while executing a transaction -
    1. Goto transaction SE80
    2. Select "Class / Interface", type in the class name CL_EXITHANDLER and 'Enter"
    3. On the method GET_INSTANCE, create a Breakpoint just after the call to cl_exithandler=>get_class_name_by_interface at the following line - 
    <i>CASE sy-subrc.</i>
    Once the breakpoint has been set, call the transaction you wish to find the BADI for and you will notice that the debugger opens everytime a BADI is about to be called. You could get the name of the BADI from the the value of the variable "EXIT_NAME".
    CL_EXITHANDLER is a service class that is called by standard SAP code everytime a BADI is about to be called. So, setting a breakpoint here should let you know exactly which BADIs are called.
    Hope this helps!
    Thanks,
    Rohini.

  • How to find the current state in web dynpro

    Hi,
       Can any one tell me how to find the current state of system (idle /not idle).
    Thanks,
    Krishna..

    Please explain further.  I don't understand how you are expecting to test for idle.  If ABAP code is being executed, then you know that the application is not idle. Only a server event could trigger code execution. Only a timedTrigger would be able to tell you that a certain amount of time has passed without activitity - although the event of the timer itself will be a server event that constitutes activity.

  • How to find the URL address of portal page ?

    Hello All,
    How to access a page from Portal Content Directory without logging into Portals ?
    Can we know the URL address for a Portal page so tht it can be called from another page via href object.
    Pls, provide me with an alternate solution that works better.
    Thank you for your time and valuable inputs. Looking forward to your responses.
    Regards,
    Anil Kumar.

    Hi,
    It is quite simple to find out the URL of a page, Check this for more:
    /thread/426798 [original link is broken]
    http://help.sap.com/saphelp_nw70/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    Greetings,
    Praveen Gudapati

  • How to implement the odata model with web service

    hi dear all,
    i am trying to expose the web service as odata service in gwpa (not the NW Gateway) and i want to deploy it into smp 3.0
    but cannot find any helpful materials on it.
    could you give me some guide?
    thank you very much
    best regards
    lawrence

    Hi Lawrence,
    There are plenty blogs available. You can check either
    Marvin Hoffmann
    How to use Integration Gateway with SMP 3.0 (Part 1)
    Let me know if you face any issues.
    Rgrds,
    Jitendra

  • How to delete the Webservice entry from Web service navigator?

    Hi,
    My current issue is that, developers have created many webserivces and these web services are visible in web service navigator that i access by following link
    http://<host>:<port>/wsnavigator
    But now we have to remove the unwanted webservices i.e. i want that unwanted webservices should not be visible to anyone when we access WSNAVIGATOR.
    How should i go about it?
    Am i required to undeploy the web services that is deployed from SDM GUI?
    Please pour in your valuable inputs.
    Any help would be highly appreciated.
    Regards,
    Ameya

    I had to revove the entry from VA. Removing this entry also removes the web service from ws navigator.

  • How to get the cookie from a web service using Axis

    I used the AXIS wizard to consume a WSDL and create a bunch of boiler plate code. It works great in that I can talk to the web service and submit requests.
    The problem is that I need to retrieve the cookie from the login request and use it when making subsequent requests. I have been unable to find the cookie and would appreciate a point in the right direction.
    Currently I'm trying something like this
    String cookie = (String)((Stub)service)._getCall().getMessageContext().getProperty(HTTPConstants.HEADER_COOKIE);
    Thanks in advance.

    Answered on my own:
    Just have to use
    x_result = http_client->response->get_data( ).
    instead of
    x_result = http_client->response->to_xstring( ).
    Just don't knwo why the filesize is wrong also - but I can work with this image!

  • Not able to access the URL for this web service (BPR)

    1. Start SAP Solution Manager and call transaction SICF.
    2. Right-click on default_host/sap/bc/solman, for example, and
    select Enable service. When the service is enabled, additional
    subgroups are visible.
    Enabling reveals the URI of the Web service. In this case, it is
    /sap/bc/solman/bpr. The protocol type is http. If you right-click
    on bpr and select Display service i got the below error
    <soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding">
    <soap:Header/>
    u2212
    <soap:Body>
    u2212
    <soap:Fault>
    <soap:faultcode>Client</soap:faultcode>
    <soap:faultstring>Missing SOAP envelope.</soap:faultstring>
    </soap:Fault>
    </soap:Body>
    </soap:Envelop
    Regards,
    Neni

    Hello Neni,
    In most circumstances this error was caused by incorrect customizing, an external alias for the default host /sap/bc/solman/defaultuser had an incorrect target handler assigned to it.
    Solution Manager's IMG and documentation (www.service.sap.com/solutionmanager) should detail the correct
    value to use.
    The correct values can be maintained in SICF.
    On top of this, please review the following URL for external aliases documentation:
    http://help.sap.com/saphelp_sm40/helpdata/en/78/9852bdc06b11d4ad310000e83539c3/frameset.htm
    Thanks,
    Mark

  • How to retrieve the HttpSession from Axis Web Service

    hello,
    How can I get the HttpSession in Web Service ???
    Eric

    Hi,
    I have generated the java classes from a WSDL using WSDL2Java using the following command line options.
    java -classpath .;%AXISCLASSPATH%;%CLASSPATH% org.apache.axis.wsdl.WSDL2Java -s -S true -d Session -Nhttp://localhost:
    7001/axis=samples.grapha -a samples\grapha\grapha.wsdl
    I need to retrieve HTTPSession in the generated GraphASOAPBindingImpl class. Can you help me?
    Thanks,
    vc

  • How to find the BAdi for an Enterprise Service

    Hi All,
    I am using an standard ES by SAP CashPointPaymentCreateNotification_In
    I have to write some code in this hence trying to find the BAd
    How can I find the BAdi for this ES?
    regards,
    Piyush

    Hi,
    First fidn out this service operation falls under which ES bundle. You can see all the ES bundles at this location:
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=B93B737648B94D26A01F85CC8C46510A&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=
    Then once  you find the operation "CashPointPaymentCreateNotification_In" click on it and it will giev you all the technical details including the BADI names that can be implemented for this.
    Regards,
    Pragati

  • How to Convert the adobe form to web services

    Hi Experts ,
    Can you please help me  i need to  Connect Adobe form to WEB Services .
    what Function Module DO i need to use to Convert  or to create ADOBE Forms.
    once after Createing i need to connect to web service through SAP>
    Regd's
    Raj

    /people/r.eijpe/blog/2007/01/08/performing-sap-interactive-forms-by-adobe
    Expert Forums » SAP NetWeaver » SAP Interactive Forms by Adobe
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    http://help.sap.com/saphelp_nw2004s/helpdata/en/18/ecb69017ad4765855425b97f666470/frameset.htm
    Regards

Maybe you are looking for

  • Cannot see Time Capsule for backup but internet perfect A

    I've seen other posts about time capsule problems and most talk about wireless dropout and loss of internet connectivity. My situation is almost the reverse: Full airport strength in menu bar. Full access to internet sites on at least one computer. C

  • Macbook Pro Hard drive, removed, how to recover data with PC

    My MacBook was damaged.  2011 Late Model.  I removed the hard drive and placed it in a sabrent enclosure.  Plugged in to a PC and learned that i cannot get the data from it.  Any help?  Thank you.

  • Edit Audio dialog box won't open

    I cannot get the Edit Audio dialog box open -- I've double-clicked and right-clicked the audio in the timeline, tried the menu Audio > Edit > Slide..., poked around in Settings and Preferences but cannot find anything amiss in there. I don't get any

  • Stains on the Lumia 800

    I've been using the silicone casing since day 1 and i realized there are stains (sorta like dried up water marks) all over the rear of the phone and i tried removing it but to no avail =( anybody have this problem?

  • Columns in JTable, Help!

    Hello There, I have two question about the JTable in Java: 1. How can i set a column width? I want to have one column widder than the other and not editable at runtime. 2. How can i have multiple lines (block of data/small paragraph) in one cell? bec