Web Service Installation Problem

Hello,
I am working with Java Web services having some prolems need urgent help. The problem is that after installing the web service on the perticular host i got the following error. Where "IResourceAdmin" is the interface for the web service.
Error:
failed to instantiate service implementor for port "IResourceAdmin"
at com.sun.xml.rpc.server.http.ea.ImplementorFactory.getImplementorFor(ImplementorFactory.java:105)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:129)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[ERROR] http - -failed to instantiate service implementor for port "IResourceAdmin" <failed to instantiate service implementor for port "IResourceAdmin">
P.S. I can see the wsdl file at the following url
"http://server-name:5432/ZeraRAWebServices/jaxrpc?WSDL", but while calling it from Perl routine it does noting, just log an error in catalina.out log file.

Have you figured out a solution for this problem? I recently encountered the same error message, when I attempted to take a working web service I have built and move it from Tomcat 4.0.5 to Tomcat 4.1.12. I have not changed anything at all, and now I am getting this "failed to instantiate service implementor for port ..." error very similar to what you have described.

Similar Messages

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • Database Web Service Installation

    Hi All,
    Using Oracle 10g. Trying for Oracle Web Service Installation(Database Web Service).
    Looking to implement 'Database Call-In' approach with 'Exposing a SQL Query or DML Statement as a Web Service' option.
    Gone through the Web Services Developer's Guide, but unable to grasp complete process from it.
    Can anyone help me in sharing, the complete requirements/Prerequisites that i should have for implementing this web service??
    Also how can i confirm whether my app server has OC4J JAX-RPC processing servlet, WebServicesAssembler in it??
    Dont have much clue regd this implementation. Want to know,learn more for doing this. Please let me know if any other info req for
    answering my questions.
    Thanks,
    Sandeep

    very helpful Rene..
    Sharing one which was found from Web Services Developer's Guide..
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28974/gettingstart.htm#BABHFFEG
    any other method available to develop Web service from SQL Query rather than using PL/SQL package??

  • How to include the NIWebAppServer.conf when building a web service installer in LV2010

    Hi all,
    I'm build a LabVIEW 2010 web service and creates a deployable setup installation as described in Web Services FAQ:
    http://zone.ni.com/devzone/cda/tut/p/id/7747#toc12
    but also would like to include my .conf file for the NI Application Web Server. The file is located in:
    C:\Program Files\National Instruments\Shared\NI WebServer\NIWebAppServer.conf
    This is where all settings (listening ports, SSL, users etc.) are configured.
    If I look in LabVIEW 2009 build instructions for web services:
    http://digital.ni.com/public.nsf/allkb/62B9C2D5C91EE8B28625778800609FF2?OpenDocument
    they include this file, but it is a new procedure in LV2010 (as seen in the top link) and I can't seem to get this conf file included and installed on the deployed system automatically for LV2010. Today, I must copy it manually.
    Any ideas of how to do this?
    Thanks,
    Mattias

    Having the same problem, even if pointing the installer to install the particular file, the installer will install its own some default file. Did you find any solution?
    /Carl

  • Web Services tutorial - problems executing

    I've recently installed jdeveloper onto winXP pro from the jdev9i_902.zip download and installed to D:\jdeveloper. Following the instructions I also installed JDK1.3 to D:\jdk1.3.1_04. I ran the setup for oc4j.
    The problem I have is that when I followed the "Publish a stateless Java class as a Web service" tutorial, everything goes well until I run it. The errors produces are (taken from the tcptunnel output):
    ===========
    HTTP/1.1 100 Continue
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Date: Sat, 20 Jul 2002 18:35:21 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Sat, 20 Jul 2002 18:35:22 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 853
    Set-Cookie: JSESSIONID=72fa269c5c2f46889c1fe8e2b69b981d; Path=/
    Cache-Control: private
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: Cannot generate Class: error: Invalid class file format in E:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    D:\jdeveloper\j2ee\home\application-deployments\WorkspaceStatelessJava-ProjectStatelessJava-WS\WebServices\temp\__java_stateless_rpc\__HelloImplStatelessWrapper.java:0: Class java.lang.Object not found in class oracle.j2ee.ws.InvocationWrapper.
    ^
    D:\jdeveloper\j2ee\home\application-deployments\WorkspaceStatelessJava-ProjectStatelessJava-WS\WebServices\temp\__java_stateless_rpc\__HelloImplStatelessWrapper.java:8: Class java.lang.Object not found in import.
    import java.lang.Object;
    ^
    3 errors
    </PRE></BODY></HTML>
    =======
    The main section that concerns me is "Invalid class file format in E:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). ", why is using this?
    Any feedback on this is appreciated.
    Dave

    Dave, given the messages returned indicate your configuration is looking at a j2se1.4 directory, I think that is the problem. Neither OC4J or JDeveloper are certified with JDK 1.4. I realize that you have installed 1.3 so my guess is that in following step 8 and 10 of the "Installing and Running Oracle9iAS Containers for J2EE" where it says:
    8. Install the J2EE container using the following command: java jar oc4j.jar install
    10. Start the J2EE container by issuing the following command: java jar oc4j.jar Show me.
    the problem is that the commands were not prefixed with the location of your JDK 1.3 installation and by default picked up the later JDK 1.4. I think you will be able to get around it by running the commands as follows (replacing directory names by your locations):
    <jdk1.3_home>\bin\java -jar oc4j.jar -install
    <jdk1.3_home>\bin\java -jar oc4j.jar
    Your JDeveloper should be fine unless you changed its JDK to also be 1.4; by default it uses its own built-in 1.3 JDK.
    Hope this points in the right direction.
    Mike.

  • P6 R8.1 Web Service installation issue on Linux

    We are trying to install P6R8.1 web services on weblogic in linux. We have the following setup:
    1. Oracle 11g standard database in CentOS-5.4 64-bit
    2. P6R8.1/ Weblogic 10.3.3.4 installed on CentOS 5.4 64-bit (separate server).
    We have installed as per the oracle installation guide without any warning/ failure. After deploying the .war file (p6ws.war), it also showing Active in Weblogic admin console. But while trying to access the application (http://localhost:7001/p6ws) we are getting error: 403 Forbidden.
    We have tested the weblogic by deplyoing some sample .war file and it works fine
    After examining, we have found that there is no index.jsp file in the root of the p6ws.war file and it is only 29 mb compare to primaveraweb.ear file which is 194 mb of our existing installation (P6V7 with similar environment).
    Is our .war file is not properly generated or we are missing some steps? Or there is any other issue?
    Any help will be highly appreciated.
    Best Regards,
    Sandip

    In previous versions the following was sufficient:
    http://HOST:PORT/p6ws/
    The correct URL as of version 8.0 of P6 Web Services is the following:
    http://HOST:PORT/p6ws/services
    See the following: "Error 403--Forbidden" When Attempting To View Available Services For P6 Web Services (Doc ID 1293112.1)

  • Web service call problem with complex types input

    We are trying to call a web service and pass as parameter
    some complex types. When invoking the web service everything works
    well on flex side, but on the server side the input parameters we
    get from flex are not correct - complex type is removed and the
    elements of the complex type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input from flex ?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Report with subreports. Web Service/XML problem. Please help!

    Hi,
    I have a composite report (main report with 9 subreports). The report uses web service as datasorce and is provided with single xml file containing the schema and all the tables for the main reports and its subreports.
    The problem I encounter is that i have to establish a connection for each subreport in order to get it work and it is the same connection. Moreover, I have observed that each time a subreport is drilled there is distinct call to the web service.
    So, i end up having a single .rpt file which makes up to 10 unnecessary calls over http just get the same xml data ???
    I've tried everything to solve this problem without any success.
    Option 1: Removing subreports. Not posible because main report can not handle multiple detail section separately.
    Option 2: Using multiple detail section in main report and conditionally suppress rows. Not possible
    Option 3: Removing datasource from subreports and pass array variables instead. Not posible
    Option 4: Remove subreports and use crosstabs in main report. Not posible
    Any ideas?
    Please I would greatly appreciate any input, I am getting quite desperate about this.
    Thank you very much.

    Subreports make their own data connection, the reason why subreports are used for other data sources.
    Post to the Report Design forum to help on redesigning the report

  • Web Service connect problem, Please Help!!!

    I developed a web service end point following the pattern of adventure as Purchase Order End Point Bean,
    WSDL is correctly generated for both Server anc Client End:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="DownloadWSService" targetNamespace="urn:DownloadWSService" xmlns:tns="urn:DownloadWSService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types/>
    <message name="DownloadWSInterface_downloadWorkAssignments">
    <part name="String_1" type="xsd:string"/></message>
    <message name="DownloadWSInterface_downloadWorkAssignmentsResponse">
    <part name="result" type="xsd:boolean"/></message>
    <portType name="DownloadWSInterface">
    <operation name="downloadWorkAssignments" parameterOrder="String_1">
    <input message="tns:DownloadWSInterface_downloadWorkAssignments"/>
    <output message="tns:DownloadWSInterface_downloadWorkAssignmentsResponse"/></operation></portType>
    <binding name="DownloadWSInterfaceBinding" type="tns:DownloadWSInterface">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="downloadWorkAssignments">
    <soap:operation soapAction=""/>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></output></operation></binding>
    <service name="DownloadWSService">
    <port name="DownloadWSInterfacePort" binding="tns:DownloadWSInterfaceBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    and I deployed both server and client end of this web service on Sun One Application 7 (Developer version) successfully, in the application server log, I can see the info :
    [#|2004-04-16T15:08:20.865+1000|INFO|j2ee-appserver1.4|javax.enterprise.system.t
    ools.deployment|_ThreadID=12;|DPL5306:EJB Web Service Endpoint [DownloadWSInterf
    acePort] listening at address [http://localhost:8080/webservice/DownloadWSBean]|#
    But when I try to call it on the client side, I got the error and here is the log:
    2004-04-16 15:48:28,477 WEB DEBUG [http8080-Processor4] - Port Info is http://localhost:8080/webservice/DownloadWSBean
    calling download ws endpoint java.rmi.RemoteException: HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean; nested exception is:
    HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean
    Could anyone help and point to me a right direction, I have been hunting the problem for days and couldnt find a clue.
    Thanks a lot in advance!

    Hi, I finally solved this problem, the JDNI entry value is not configured properly for the session bean that's built for the service end point.
    Changed JNDI value, and use that value in the service locator to look up the session bean home, it worked.

  • Web Services Security Problem

    hi all,
    I am publishling the BC4J Component(Application module) as a webservice. The particular web service method will be as follows. The method is returning the element object.
    public Element getEmp(String searchString,String selectedItem, int pageNoInput)
    return (Element)hits.writeXML(1,Row.XML_OPT_LIMIT_RANGE);
    I am securing the web service by the instructions which are given in the following link
    http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html
    Then i am creating the proxy client. when i run the proxy client it gives me the following exception
    javax.xml.rpc.soap.SOAPFaultException: SOAP must understand error: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:553)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at aptuitclient.runtime.ReviewProtocolAppModuleServiceSoapHttp_Stub.getEmp(ReviewProtocolAppModuleServiceSoapHttp_Stub.java:91)
         at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.getEmp(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:58)
         at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.main(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:44)
    When i am removing the security for the web service it is giving the Element object.
    The Problem is when i am securing the web service it is giving the above said exception.
    Please help me regarding this... this is very urgent...
    rgds
    Parameswaran

    Hello,
    When you are using WS-Security you need to secure the client too. So in your case the client is the ADF Data Control.
    The way you should configure your data control is documented here:
    - Web Services Security and ADF Data Control
    Regards
    Tugdual Grall

  • Web service : timezone problem

    Dear All,
    i have create a webservice that required user name, password, nonce and create datetime
    (i.e. in soap header, add <wsu:Created ValueType="http://www.w3.org/2001/XMLSchema/dateTime">2007-05-16T16:38:03Z</wsu:Created>)
    **where xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">)
    i deploy the web service to OC4J, running in a window 2003 server. (timezone set to GMT+8 --> Hong Kong)
    when i run a web service client, in AIX (env. variable :TZ=CUT0), to call the web service,
    an error occur:
    javax.xml.rpc.soap.SOAPFaultException: Clock skew too great
    so i write a simple java program to check the time zone / date time setting:
    sample code:
    ============================================================
    Date d = new Date();
    System.out.println("Time zone offset: " + (d.getTimezoneOffset()) / 60);
    System.out.println("GMT String: " + d.toGMTString());
    System.out.println("Locale String: " + d.toLocaleString());
    TimeZone tz = TimeZone.getDefault();
    System.out.println("TZ display Name: "+ tz.getDisplayName());
    System.out.println("TZ raw offset: " + (tz.getRawOffset() / 36000 / 60));
    ============================================================
    in the window server, the following message is printed:
    Time zone offset: -8
    GMT String: 16 May 2007 09:25:56 GMT
    Locale String: May 16, 2007 5:25:56 PM
    TZ display Name: China Standard Time
    TZ raw offset: 13
    in the AIX server (env. variable TZ=CUT0), the following message is printed:
    Time zone offset: 0
    GMT String: 16 May 2007 17:25:49 GMT
    Locale String: May 16, 2007 5:25:49 PM
    TZ display Name: Coordinated Universal Time
    TZ raw offset: 0
    as Hong Kong 's time zone is GMT+8 (= CUT +8????), it seems that the AIX
    machine produce the wrong GMT time: GMT String: 16 May 2007 17:25:49 GMT
    8 hours are added???
    time now in Hong Kong is ~17:25, convert to GMT or CUT = 09:25 GMT, am i right?
    could anyone tell me whether i am right or wrong?
    what should i do to solve the problem??
    (PS: i am not the root user of the AIX machine)
    thanks
    in the window 2003 server, in which the OC4J runs on, the timezone is GMT+8 (Hong Kong)
    but in the IBM AIX client, the TZ env. environment is set to "CUT0"
    Message was edited by:
    lsp

    Dear Viru,
    I have captured the soap message on the server side using tcpmon.
    the tcpmon show the capture time = Thu May 17 11:33:35 CST 2007
    POST /XXXXXXXXXXxx HTTP/1.1
    Host: hocd4sv06d:8111
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: "XXXXXXXXXX"
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml; charset=UTF-8
    Content-length: 1244
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="XXXXXXXX" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"><wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Username>username</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password><wsse:Nonce>lRl/cmyvlsL20rzxSQy07Q==</wsse:Nonce><wsu:Created ValueType="http://www.w3.org/2001/XMLSchema/dateTime">2007-05-17T11:33:38Z</wsu:Created></wsse:UsernameToken></wsse:Security></env:Header><env:Body><ns0:YYYYYY/></env:Body></env:Envelope>
    HTTP/1.1 200 OK
    Date: Thu, 17 May 2007 03:28:06 GMT
    Server: Oracle Containers for J2EE
    Content-Length: 588
    Connection: Keep-Alive
    Keep-Alive: timeout=15, max=100
    Content-Type: text/xml; charset=UTF-8
    SOAPAction: ""
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="XXXXXX"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"/></env:Header><env:Body><ns0:XXXXXXXXXXXX/></env:Body></env:Envelope>
    after searching the oracle document (oracle ws security guide), i find that there is
    an element called <nonce-config clock-skew = "XX seconds" ..../>, that control how
    many seconds in the create time is acceptable.
    after i add that element <nonce-config clock-skew = "288100" ..../> (approx = 8 hours),
    everything work fine now...but for security, of course, i can't set the value to so large
    in production env.
    anyone have idea to solve this problem.?

  • Web service wsdl problem

    I have a very simple web service cfc file that uses another cfc component in the returntype. Both cfc files are on the same directory in the server. It fails to register (wsdl) on the CF server. If I change the returntype of the web service call to "any" it would work. Anyone has any idea? Below is the code:
    authentication_wsapi.cfc
        <cfcomponent>
          <cffunction name="getManagers"
                  access="remote"
                  returntype="User"
                  output="no">
                <cfobject component="User" name="ret">
                <cfreturn ret>
          </cffunction>
        </cfcomponent>
    User.cfc
        <cfcomponent>
          <cfproperty name="loginName" type="string">
        </cfcomponent>
    url to test:
    http://wsapi.my.com/authentication_wsapi.cfc?wsdl
    Error I got:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Exception - java.lang.NoClassDefFoundError: user
    java.lang.NoClassDefFoundError: user
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethod(Class.java:1935)
        at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospection(JavaServiceDes c.java:863)
    If I modify authentication_wsapi.cfc as below (only difference is the returntype) it will work:
            <cfcomponent>
          <cffunction name="getManagers"
                  access="remote"
                  returntype="any"                        <----- changed from "User" to "any"
                  output="no">
                <cfobject component="User" name="ret">
                <cfreturn ret>
          </cffunction>
        </cfcomponent>
    It seems authentication_wsapi.cfc can not see the User.cfc on the same dir. BUT the "cfobject" call to create the User component is not complaining though. Any help will be apprecriated!

    bkbk,
    I tried as you suggested and found some interesting things, but problem still exists...
    I created the test.cfm page as you suggested:
    test.cfm
    <cftry>
    <cfobject component="User" name="testUser">
    <cfobject component="authentication_wsapi" name="wsapi">
    <cfcatch type="any">
       <cfdump var="#cfcatch#">
       <cfabort>
    </cfcatch>
    </cftry>
    Done creating.
    and hit it at url:
    http://wsapi.my.com/test.cfm
    There was no error, it shows "Done creating.".
    Just to make sure, I modified my authentication_wsapi.cfc to be:
    authentication_wsapi.cfc
        <cfcomponent>
          <cffunction name="getManagers"
                  access="remote"
                  returntype="User_non_exist"
                  output="no">
                <cfobject component="User_non_exist" name="ret">
                <cfreturn ret>
          </cffunction>
        </cfcomponent>
    and hit it with the test.cfm url, still no error. Strange!
    So I modified test.cfm like this:
    test.cfm
    <cftry>
    <cfobject component="User" name="testUser">
    <cfobject component="authentication_wsapi" name="wsapi">
    <cfset a = wsapi.getManagers()>
    <cfcatch type="any">
       <cfdump var="#cfcatch#">
       <cfabort>
    </cfcatch>
    </cftry>
    Done creating.
    Now I see an error complaining the User_non_exist component not exist.
    So I changed the authentication_wsapi.cfc back to it's correct form, and with the new test.cfm, and hit the url, there was no error.
    Now I hit the wsdl url, it still gave me the original error.
    I think the wsdl compiler or some sort in CF server can not see the component inside the authentication_wsapi.cfc.
    I am using Coldfusion 9, 64 bit, enterprise version, on a Windows server 2008, with IIS 6.0.
    In the IIS web site I defined the "physical path" (is this the web root?) to
       C:\Savvi\Websites\CCD\WSAPI
    and both .cfc exist in
       C:\Savvi\Websites\CCD\WSAPI
    There are several other web sites co-exist in the same server, with different "physical path". I do not have a "/" mapping defined in the CF server.

  • Web service invoking problem with websphere server

    HI all,
    I am getting the following exception while running the FedEx web service application in RAD.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at fedex.ws.rate.v4.RateServiceSoapBindingStub.getRates(RateServiceSoapBindingStub.java:1046)
         at com.lgs.fedex.FedexClient.getFedexRates(FedexClient.java:173)
         at com.lgs.fedex.FedexClient.getFedExCost(FedexClient.java:95)
         at com.lgs.fedex.FedexClient.main(FedexClient.java:52)
         {http://xml.apache.org/axis/}hostname:LGSCP0359
    java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at fedex.ws.rate.v4.RateServiceSoapBindingStub.getRates(RateServiceSoapBindingStub.java:1046)
         at com.lgs.fedex.FedexClient.getFedexRates(FedexClient.java:173)
         at com.lgs.fedex.FedexClient.getFedExCost(FedexClient.java:95)
         at com.lgs.fedex.FedexClient.main(FedexClient.java:52)
    Caused by: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         ... 13 more
    Please help me what is the problem...
    Thanks in advance

    Hello,
    Sorry... I don't have an answer to your question... :(
    However, I just started trying to figure out the FedEx Web Service stuff. So far, I haven't gotten very far. I've got AXIS and some ShippingService code downloaded but can't seem to figure out how to implement or test it... or any service. Have you found or got any basic Java code that connects to the endpoint and sends a request?
    Any help would be much appreciated.
    thanks, brian

  • Web Service System problem in EP 7.0 SP9

    Hi.
    We used Web Service for VC and CAF.
    For this, We created Web Service System and we used SAP Logon Ticket for authentication in EP 7.0 SP08.
    After we applied SP09, We got authentication problem in web service system.
    From my analysis, I found SAP Logon Ticket is missing for logon method in web service system template.
    Web service system template in EP 7.0 SP09 only has "NONE", "USERID/PWD" for logon method.
    How can we use SAP Logon Ticket for web Service System ?
    Regards, Arnold.

    Hi,
    it's simple: your portal version does not support IE7. To get it working, upgrade your portal to a supported SP. There is no workaround. The EP heavenly depends on Javascript, and IE7 won't run correctly the JS from SP9.
    br,
    Tobias

  • Web service creation problem

    Hi!
    i have huge xml schema (containing thousands of elements) and i need to publish as web service methods operating with java classes generated from this schema.
    I created java classes using JaxMe from apache.
    I created method with return value UserGetResponse (generated from schema) and i get this error:
    Operation getUser:
         The return type UserGetResponse of method getUser cannot be serialized into XML, and no custom serializer has been defined
    the same problem when i generated java classes with XMLBeans.
    any advice? what tool should i use to generate java classes from XSD so i will be able to use them for creating web services with Jdev 10.1.3??
    Thanks a lot, this problem is really urgent.
    Tomas

    Thanks a lot for fast reply ..
    unfortunatelly when i write my serializer, i can't use it in JDeveloper - syntax of map files in jdev 10.1.3 is different from the one used in the document and when i want to do mapping with the wizard - the wizard always allerts "you must specify a QName for each mapping" - and Qname is specified (maybe bug?)
    i have created java obejcts using xmlbeans (i tried toplink and several others too) .. parsing marshallling and unmarshalling works fine, but i'm not still able to create web service with these objects.
    Thanks a lot for any help
    Tomas

Maybe you are looking for

  • Unable to Boot from OSX -- Get Strange Schematic

    Hello - A friend forgot her password on her iBook. Using this forum, we found out that she can access and change the password by booting from the OSX disk (Tiger) and opening the "Utilities" on the installer. So we inserted the disk and restarted the

  • Installing Snow Leopard on MacBook Pro if DVD drive doesn't work

    My superdrive is very finicky, and I don't want to risk an install with it if it decides to kick the DVD out halfway through the install. Can I connect to my iMac and install VIA firewire? I tried this today but the install seemed to stall and wouldn

  • IPhoto not syncing to photos app on iPhone

    I'm trying to see my shared photo folders from iPhoto on my iPhone 6 using the photos app but under sharing, the iPhoto shared photos don't show up under Shared. I've made sure I'm using the same account on all devices and Mac and enabled sharing. Wh

  • Quick Module Question

    I have a link bar component that is linked to a ViewStack component, which has four stacks. I want to use modules in the last three stacks and my question is: Will the modules load when the user clicks on that particular stack, or will all of them be

  • Can I automatically size the page?

    I have a PDF with several pages that are landscape and several that are portrait.  It creates a gap on the right side by the pages that are portrait.  I would rather not see the gap.  Even though the pages are different sizes, I would like to see tha