Web Service issue in eclipse IDE

Hi,
I am trying to execute a code for web service related in eclipse IDE (Plug in environment).
when i am trying to debug, It throws class not found exception in plugin environment and its not creating instance for Wsdlparser1.
but it is executing fine in java environment.
And the code is,
public void testCaseCreation() {
          try{
               Wsdlparser1 wsdlParser1 = new Wsdlparser1(sWsdlFilePath);
               wsdlParser1.createWSDLReader(sWsdlFilePath);
               GenerateTypeSystem gTypeSystem = new GenerateTypeSystem(sPath);
               gTypeSystem.createModule();
               System.out.println("TypeSystem Created Successfully");
               GenerateTestCase1 gTestCase = new GenerateTestCase1(wsdlParser1,sPath);
               gTestCase.createTestcases();
               System.out.println("TestCase Created Successfully");
          } catch (Exception e) {
               e.printStackTrace();
let me know how to proceed further.

service created in SOAMANAGER will  not work in older patch level version where
WSADMIN/WSCONFIG. is available

Similar Messages

  • How to create Web service proxy in Eclipse?

    Hi,
    I want to create web service proxy in Eclipse. Can someone tell me what all plug ins are needed for it and what is the detail procedure for the same?
    Thanks in advance.

    Proxy class is out of date now... proxy class only support stateful web service call... and stateful web service may became a big limitation in development.
    Try to thinking about how to use stateless web service call, you may get an alternative solution.
    Edited by: user13036981 on 2011-10-7 上午9:20

  • Web Service Issue

    Hello Everyone,
    I am having an issue with web services. I created an ABAP FM based web service in R/3 (WAS 640). The web service was created successfully but when I try to publish it to wsNavigator using WSADMIN, it take me to the wsNavigator on our J2EE server but gives me the following error:
    "Cannot download WSDL from http://server:port/sap/bc/srt/rfc/sap/ZWS_TST?sap-client=100&wsdl=1.1&mode=sap_wsdl: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator"
    When I click this error then it downloads the WSDL wthout any issues. Is there any security that needs to set up on the R/3 side for this because it seems like wsNavigator is trying to download the WSDL from R/3 but it does not have the access.
    Do ABAP based web services even show up in wsnavigator?
    Has anyone ever come across this issue? Any ideas or suggestions will be great.
    I have researched a lot but have not gotten anywhere.
    Regards.

    Hii
    Did you found out the solution to this problem, as i am facing the same issue.
    Please let me know if you got the solution.
    Thanks in advance
    Jeet

  • Iplanet Web Service issue.. Please Help

    Hi All,
    I am new Admin User for Iplanet and would required your kind help in one of our ongoing issue.We are using Iplanet Web Server Admin Server.
    Since while we have been noticing that the iplanet Web Server Service goes down frequentely when ever there is some installtion been done from Java.
    [13/Aug/2009:14:07:00] info ( 8472): successful server startup
    [13/Aug/2009:14:07:00] info ( 8472): iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 14:41
    [13/Aug/2009:14:07:01] info ( 8472): Installing a new configuration
    [13/Aug/2009:14:07:01] info ( 8472): [LS ls1] http://ssoportal1.uk.money.ge.com, port 8080 ready to accept requests
    [13/Aug/2009:14:07:01] info ( 8472): A new configuration was successfully installed
    [13/Aug/2009:14:07:01] info ( 8472): Using the Classic VM v1.2.2 from Sun Microsystems Inc.
    [13/Aug/2009:14:07:01] info ( 8472): Java VM classpath: C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;C:/iPlanet/Servers/bin/https/jar/NSServletLayer.jar;C:/iPlanet/Servers/bin/https/jar/NSJavaUtil.jar;C:/iPlanet/Servers/bin/https/jar/AdminNativeUtil.jar;C:/iPlanet/Servers/bin/https/jar/NSJavaMiscUtil.jar;C:/iPlanet/Servers/bin/https/jar/servlet.jar;C:/iPlanet/Servers/bin/https/jar/servlet-2.3-filters-api.jar;C:/iPlanet/Servers/bin/https/jar/jsp092.jar;C:/iPlanet/Servers/bin/https/jar/jaxp.jar;C:/iPlanet/Servers/bin/https/jar/crimson.jar;C:/iPlanet/Servers/bin/https/jar/xalan.jar;C:/iPlanet/Servers/bin/https/jar/jspengine.jar;
    [13/Aug/2009:14:07:01] info ( 8472): Loading IWSSessionManager by default.
    [13/Aug/2009:14:07:01] info ( 8472): IWSSessionManager: Maximum number of sessions is 1000
    [13/Aug/2009:14:07:01] info ( 8472): Successfully initialized web application environment (web-apps.xml) for virtual server (https-myukswcap1ip001-SSO)
    Our Iplanet Web Server is operating on Windows 2000 SP4.
    Any suggestion on this will be of Gr8 Help.
    Thanks
    Anand

    Okie-dokie then.
    You can hard-code the hostname into the /etc/hostconfig file. Usually, it reads <pre>HOSTNAME=-AUTOMATIC-</pre> but you can substitute <pre>HOSTNAME=machine.domain.com</pre>
    You don't need to reboot if you also issue the command
    <pre>sudo hostname machine.domain.com</pre> on the command line. (I could be wrong, but I think the hostconfig file is read on boot only.)
    Then try <pre>sudo apachectl configtest</pre> once again. If you get no errors, see if you can start up the web service. You can do it either with the Server Admin app or with <pre>sudo apachectl start</pre>

  • Web Service Issue - Security or Coding problem? *HELP*

    Hello all - I am stuck on a particular problem, which I've posted under flash player but also will post here in the event that it's my issue, and not a security/player issue.
    I have built a video player in Flash/ AS3 which communicates with WSDL web services using the as3webservice code package from wellconsidered. The player makes a call at startup to check a user's progress in a series of videos, and updates that progress by talking to the web service as the videos are played back.
    Tested locally, it works flawlessly. As soon as the player is uploaded, however, the web service' hangs' - so no fault is produced, but it seems to just never connect. This is presumably because the SWF is on one server, the web service on another. I've tried uploading it to two different servers, both different than the web service server. I'm trying to avoid moving the web service to the same server that hosts the SWF.
    I've tried adding a crossdomain.xml file to the root and subdirectories of the server that hosts the web service:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM
    "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
        <site-control permitted-cross-domain-policies="master-only"/>
        <allow-access-from domain="*"/>
        <allow-http-request-headers-from domain="*" headers="*"/>
    </cross-domain-policy>
    I've also tried playing with the SWF publishing options (Local Access only vs. Network only options), but no solution seems to help. I know it's not just the web service i"m using, because public web services (such as the ones found on webservicex.net) don't connect either.
    I'm at the end of my rope, and am wondering if this is a Flash Player security issue, or something I need to reconsider from my side (such as using a different web services package).I am wondering if a crossdomain.xml does not help, what other possible areas do I need to look at? If there is an article someone could point me to, or a simliar situation they've been in, i'm iopen to all suggestions.
    Thanks so much...fg

    You can generally check what the player is doing from the browser by using firefox with the firebug plugin. For example you can see the crossdomain permission requests or other urlrequests and responses. This is a useful way to debug as it sometimes shows issues or at the very least means you can eliminate one potential cause of the issue if there are no obvious problems there.
    If you don't have firefox/firebug, then (if you can) post a url with the swf in it that exhibits the error and I or someone else can check it for you and report back.

  • Configure Web Services in a SAP-IDES-System?

    Hello,
    I have access to a SAP-frontend on a SAP-IDES-System and now Iu2019d like to configure two Web Services in SAP. I think I can do this configuration with SPRO, but I donu2019t really know how and where.
    Is there a good documentation about Web Services in SAP IDES?
    Thanks a lot!

    Hi,
    Have a look at below link.
    http://help.sap.com/SAPHELP_NWPI71/helpdata/EN/57/07813ee3d32b44e10000000a114084/content.htm
    I sure it will help you out
    Rgds
    Radhakrishna D S

  • Consuming Web Service Issues

    Hello All,
    I appreciate any help in getting me pointed in the right
    Direction.
    I am trying to pull values from my vender's web services.
    They required that I place .wsdl file on my server then call to the
    local file which will then make calls to their server on the
    Internet. I placed the .wsdl file on my webserver and then
    referenced it via cfinvoke command. I keep getting the following
    error no mater what parameters I change.
    "Web service operation getDefaultVehicleAndValueByVin with
    parameters {vehicleRequest={3HGCM56477G705152}} cannot be found."
    Here is my Code. Any ideas or where I can go to get me jump
    started would be great. I tried googling but find very basic
    examples.
    Thanks
    Craig

    Making you put the wsdl file on your local machine is very
    bad architecture. It's a mess to support. What if it changes? Then
    they have to send new wsdl files out to everyone that is using
    their webservice. You might want to point that out to them.
    Even though the "?wsdl" is often the syntax used in web
    services to retrieve the wsdl file it's not required and wouldn't
    be used for the local wsdl file. Though you do put the soap port in
    the URL for a remote call.
    I found with the web services I have to call, with the
    complex types the only way I could get it to work was by using
    cfhttp with a post and setting the SOAPACTION to the method to
    call. Here is one example, and there are others out there.
    http://www.jamesnetherton.com/blog/index.cfm/2007/1/14/Invoking-a-webservice-using-CFHTTP
    I find that when you have many complex types that Coldfusion
    is about as easy to use with web services as carrying an 800 lb.
    gorilla.
    Jim

  • BPEL 10.1.3.5 calling web service issue.

    Hi All,
    I am basically calling a java webservice from BPEL which takes XML as input along with some other value. The XML content is sent in a string format after stripping the namespaces in BPEL. When this XML content is received by the WS, its throwing an error saying "This parser does not support specification "null" version "null"", which it should have thrown when the XML content structure has issues. I mean the WS is expecting one structure and the BPEL is posting another. As a part of our debugging process, we realized that the WS is looking for some jar libraries before processing the data,which were not available and its throwing this error. The same web service when invoked explicitly, is perfectly accepting the same XML content.
    Can anyone please suggest how to take this ahead. Should I be adding these java jar libraries in our oc4j application server or is there any other workaround. No doubt the XSD has no issues. I am using SOA 10.1.3.5 version.
    Any inputs would be a great help to resolve this. Many thanks in advance.
    Gautham A

    Hi all,
    can anyone please respond to my issue. Its sort of urgent.
    thanks,

  • Java Client Web Service In Platform Eclipse

    Hi All
    I have created a server Web Service called LoanCalcService in VS.NET 2005, the folder contains LoanInfo.asmx that when run creates the Web Service, WSDL. Which works good.
    Now i need to send a request to the Web Service server and get a response from the LoanCalcService that it provides. To do this i must create a client in another language. I am doing this in JAVA in the Eclipse platform.
    I have tested the WSDL with the web service explorer that comes with eclipse and the program works good. But when i run the Java code in Eclipse i get this
    Error
    HTTP Status 404 - /WebServiceProject/WEB-INF/classes/localhost/LoanCalcService/LoanInfo_asmx/LoanInfoLocator.java
    type Status report
    message /WebServiceProject/WEB-INF/classes/localhost/LoanCalcService/LoanInfo_asmx/LoanInfoLocator.java
    description The requested resource (/WebServiceProject/WEB-INF/classes/localhost/LoanCalcService/LoanInfo_asmx/LoanInfoLocator.java) is not available
    Can anyone tell me please what i am missing please.
    Thank You beforehand

    You are a novice to Java and yet you expect to start out writing services?
    Good luck with that*
    *Trademark, 2006- yawmark, All Rights Reserved.                                                                                                                                                                                                                                                                                                   

  • BIPlatform web service - issue

    I am unable to schedule the report using BIPlatform web service. I can connect to the server and the request is being submitted successfully. I can check the history of the reports and it says 'No Parameters' using the infoview. I can see the soap request call contains the input values for the report in the CurrentValues section. I don't see this in the soapenvelop response from the web service. Please guide me.
    I am enclosing below part of soap request and response which is being generated by web services sdk when I schedule the report as follows:
    Request:
          <ns1:ReportParameters>
           <ns1:Parameters>
            <ns1:CurrentValues>
             <ns1:CurrentValue>
              <ns1:ShowDescriptionOnlyEnabled>false</ns1:ShowDescriptionOnlyEnabled>
              <ns1:Data>1111111</ns1:Data>
             </ns1:CurrentValue>
             <ns1:CurrentValue xsi:nil="true"/>
            </ns1:CurrentValues>
            <ns1:SortMethod>1</ns1:SortMethod>
            <ns1:PromptOnDemandViewing>false</ns1:PromptOnDemandViewing>
            <ns1:ParameterName>xx_number</ns1:ParameterName>
            <ns1:ValueType>STRING</ns1:ValueType>
            <ns1:ReportParameterOptions>
             <ns1:ReportParameterOption>HAS_DISCRETE_VALUES</ns1:ReportParameterOption>
            </ns1:ReportParameterOptions>
            <ns1:GroupNumber>0</ns1:GroupNumber>
           </ns1:Parameters>
          </ns1:ReportParameters>
    Response:
    <cr:ReportParameters>
       <cr:Parameters>
           <cr:CurrentValues/>
           <cr:SortMethod>1</cr:SortMethod>
           <cr:PromptOnDemandViewing>false</cr:PromptOnDemandViewing>
           <cr:EditMask/>
           <cr:ParameterName>xx_number</cr:ParameterName>
           <cr:DefaultValues/>
           <cr:ReportParameterOptions>
             <cr:ReportParameterOption>HAS_DISCRETE_VALUES</cr:ReportParameterOption>
           </cr:ReportParameterOptions>
           <cr:Prompt>Enter number:</cr:Prompt>
           <cr:ReportName/><cr:GroupNumber>0</cr:GroupNumber>
        </cr:Parameters>
    </cr:ReportParameters>

    Hi
    Please read the following for information on future posts:
    [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]
    These forums are for community assistance with general questions and not a technical support venue.
    People will try and help with technical support issues, but there is no guarentee that you will be able to get a resolution for technical issues. There is also no way to control how fast or slow responses from users come or how much/little help they will be. 
    If you have technical support questions that can not wait for assistance on the forums or are not being answered to your liking, you have the option to purchase support.
    You can call 1-800-877-2340 Option 4 then Option 1 to purchase single case incidents as long as you are using Crystal Reports.  If you are using BusinessObjects Enterprise then you will need to have a support contract in place.
    Each question would need a seperate case.
    Best Regards,
    Jason

  • Problem when generating web service client using eclipse JavaEE

    Hi,
    I have created a subservience in SAP .. and the WSDL endpoint is :http://10.130.105.8:8000/sap/bc/srt/wsdl/flv_10002A111AD1/srvc_url/sap/bc/srt/rfc/sap/ztm_ws_get_emp_holidays/520/offici…
    But there is problem when I set the service definition. Can you help me, in how to generate the  Java classes for SAP web service ?

    Hi,
    Hello again .
    Have you tried your service using soapui ?
    You can use your WSDL as input .
    In order to eliminate eclipse problem try this service:(I just did)
    http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
    Regards.
    package main;
    import java.io.FileInputStream;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapType;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapTypeProxy;
    import org.oorsprong.www.websamples_countryinfo.TCountryCodeAndName;
    public class Main {
    public static void main(String[] args) {
      try {
       final Properties properties = new Properties();
       properties.load(new FileInputStream("properties.ini"));
       System.getProperties().putAll(properties);
      } catch (final Exception exception) {
       exception.printStackTrace();
      new Main();
    public Main() {
      try {
       final CountryInfoServiceSoapType infoServiceSoapType = new CountryInfoServiceSoapTypeProxy();
       final TCountryCodeAndName[] tCountryCodeAndNames = infoServiceSoapType.listOfCountryNamesByName();
       for (final TCountryCodeAndName tCountryCodeAndName : tCountryCodeAndNames) {
        System.out.println(tCountryCodeAndName.getSName());
      } catch (final RemoteException exception) {
       exception.printStackTrace();

  • Web service issues with two live Ethernet connections

    Running OSX Leopard 10.5.3 on a Quad-core G5.
    Configuring Web services, I am running into issues while having two simultaneous Ethernet connections active.
    My first E-net connection is a LAN address; the second is a external WAN IP.
    I've created one website under the "Web" service and made it active on all IP addresses (*).
    Under this config, I can only connect to my site from inside of my LAN. External machines try to connect and simply time out.
    I know that my DNS is configured correctly, because--and here's the crux--whenever I turn off my LAN connection under System Prefs -> Network, external clients can immediately hit the website without a hitch. It's only when both connections are active that external clients time out.
    Any input appreciated.

    This sounds like a routing issue - the server is trying to route all replies over the internal network, not the external network.
    Do you have a router/gateway address specified in System Preferences -> Network for the internal NIC? If so, remove it - you should only have one default router set and it should be on the interface that gets you to the outside world.
    You can also try reordering the network interfaces in System Preferences -> Network. Use the little gear wheel in the lower left corner to 'Set service order' then drag the interfaces into the order you want them to be used.

  • Query as Web service issue.

    Hi,
    I have created a BAPI for sales order creation in one of the R/3 system. On top of that i created xeclsius report and used "Web service connection", and mapped the input and output fileds. when I click preview it working properly, but when next time open the xlf file it is not fetching the data, again we have to import and do the same process then only it is fetching the data.
    I have tried by Exsporting to SWF file and through opendoc url also, but the problem is same.
    Can any one help me on this?
    Best Regards
    Raju.k

    Hi All,
    You can try this solution. It has something to do with the universe parameter, END_SQL.
    I implemented this as a work around and it solved our problem about the sorting issue with QAAWS.
    Here are the steps:
    1: Open the universe
    2. Ope File,  then Universe Parameter
    3. Click the parameter tab
    4. Scroll down until you see the 'END_SQL' entry. This entry is blank by default.
    5. Select END_SQL
    6. On the VALUE box, type: ORDER BY 1
    7. This will enable the REPLACE button. Click REPLACE
    8. Save the universe
    9 Test a query using 2 columns and view the SQL.
    You should see now the ORDER BY 1 inferred in the SQL statement.
    Voila!!!!
    Of course you can always add ORDER By 1,2,3 later if there's a need.
    Enjoy.....
    Ferdinand

  • Web Services Issues in Coldfusion 8

    Hello all,
    I am trying to deploy .cfc files as web services in a multiserver coldfusion 8 environment.  So far it has not been working out so well.  Whenever I navigate to the .cfc file in a browser the page dumps the .cgi scope and not the component documentation.  If i append ?wsdl to the URL  I get the code for the .cgi scope dump.   You also cannot manually register a web service in the coldfusion administrator.  (components that will be web services are marked as access="remote", these same .cfc files have been and are being used in CF 7.1.)
    The cfc files in the CFIDE folder use the cfcexplorer.cfc component and do show the component documentation.
    My Environment:
    3 x T6300 Sun Solaris Blades
    3 x 8 core processors
    32GB RAM
    Hardware Load Balancer:
    Juniper DX
    NAS /web partition mount for webroot
    Does anyone know of any issues with web services in multiserver CF 8 environment?  Why would the .cfc and .cfc?wsdl dump the cgi scope and not show me the component documentation or the WSDL file?  Is there a setting that I am missing somewhere to allow web services?  Why can't I explore the cfc documentation on a file in the webroot?
    Any help or insight would be greatly appreciated!
    thanks in advance
    Steve

    There is nothing about web service and multi-home ColdFusion or ColdFusion 8 that should be radically different then web services in stand-alone CF7.
    Is there anychance there is an arrent Application.cfc file that might be applied to these ColdFusion component files?  Note that any Application.cfc file (or Application.cfm) between the CFC file and the root directory would be applied to the code running the web service.  There is an often overlooked gotcha with some Application.cfc files that use the onRequest() method.  This method can interfere with the normal deliver of a wsdl response to a web service request if this has not been accounted for in the onRequest() method.

  • Web Service issue in moving to TST

    Initially created web services using web service creation wizard in SE37 . Released and tested using tcode
    WSCONFIG and WSADMIN. After patch update in our DEV system, the tcodes WSCONFIG and WSADMIN become obsolete, so used tcode SOAMANAGER .  But when I tried to move my web service to TST,which is not yet updated, the tcode SOAMANAGER is not available and I cannot see my web service in WSADMIN/WSCONFIG. My new transport request (using SOAMANAGER) contains only u2018Virtual End pointu2019 as its object. I cannot see my web service in SICF also. Kindly advise me on the procedures. Thank you.

    service created in SOAMANAGER will  not work in older patch level version where
    WSADMIN/WSCONFIG. is available

Maybe you are looking for