Error running Web Services in DEMO : User is not Authorized error

Hi all,
We created a Web Service in our DEMO installation of ERP9 Tools 8.97, Database Local SSE (User - DEMO, Password-DEMO). The Web Service is using JDE Vanilla BSFN - B0100021 - Formatted Address and created through JDeveloper using JDE BSSV tool.
When we are running the Web Service (TestCustomWebService) from JDeveloper (Right Click and Run) it is providng an url (http://moequbal:8988/context-root-JP55HOL/TestCustomWebServiceSoapHttpPort) and when we are pasting the URL in the browser and entering a valid value in the Input field and pressiing the 'Invoke' Button, the following Error pops up -
"<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="http://oracle.e1.bssv.JP55HOL/types/">
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>Internal Server Error (Caught exception while handling request: oracle.e1.bssvfoundation.exception.E1AuthorizationException: User is not authorized to invoke this published business service)</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>"
Please help.
Thanks,
Tufan

I can confirm that the lab and BSSV functionaly works in DEMO, I have it working nicely. However, I dont think you can deploy this to a Business Services server. I haven't tried as yet. but you can test all the published BSSV via jDeveloper to verify that you have the correct code. It starts O4CJ and web services locally and brings up an input web page to enter the AN8, the data outputs to XML.
Tip:
1) Make sure that you have an entry in the P00950 security workbench. .
2) make sure that you select the BSSV item (i.e CustomAddressManager) and select 'set to publish' available (this only appears on checkin) when you check the object in. Make sure that you have entries in the F98601, 602, 603 tables in Object Librarian
3) Open P00950 select published bssv, click on the grid line (1st column) in the grid form of W00950X click the searchlight, in W00950U hit find you must see your published BSSV in here.
if not you go back to step 2. You must 'set to publish' for the bssv i.e CustomAddressManager object. Otherwise you will not be able to see in the W00950U form.
4) Repeat for the 2nd column and Make sure you select the 'Secure by Method' this will take you to W00950Y form and you must select your bssv and select the 'Allow Execute' on the bottom of the form.
Once you have these in place then you will not get the 'Not authorized' error messages.
Christopher Koloszar
JDE Senior Business Analyst
Oracle 10g DBA
[email protected]
Edited by: user3025204 on 15-Oct-2009 02:00

Similar Messages

  • Error running web services examples

    Hi Guys,
    After spending the whole day finally i get the soap server working. I have to manually deploy soap.ear into OC4j instance. But again i am trying to run web services stateless java say hello class example... but no luck. I am getting connection refuse error... Did any one tried these examples.... I am using Jdeveloper9i on win 2000 professional machine.
    I am getting connection refused error ...if i try to run example....
    Any help will be appreciated..
    thnks
    vijay

    See:
    Check for uniqueness of data in a column
    In your response, could you elaborate on "connection refused" ... is this the application server that you are testing? If you are setting up the SOAP Server connection, this is not required by those tutorials as shown by the Quickstart setup that they point to.
    It would also help to know the versions of JDev and OC4J you are using (e.g. are you using JDev 9.0.3 and OC4J 9.02; have you got a full install of Oracle9iAS 9.02 etc). Without more details it can be hard to help.
    I wrote most of the tutorials at a point in time so they tend to be pretty specific about version numbers. If you are using different versions they should work but I might be able to point out any problems you might run into.
    Mike.

  • Getting error System.Web.Services.Protocols.SoapException: Server did not r

    I am trying to acces my web service using this code
    Call call = new Call ();
    SOAPMappingRegistry soap = new SOAPMappingRegistry();
    call.setTargetObjectURI ("http://tempuri.org/");
    call.setMethodName ("EarnNValue");
    Vector params = new Vector ();
    params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
    call.setParams (params);
    Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
    if (resp.generatedFault ())
    Fault fault = resp.getFault ();
    System.out.println (" Fault Code = " + fault.getFaultCode ());
    System.out.println (" Fault String = " + fault.getFaultString ());
    else
    Parameter result = resp.getReturnValue ();
    System.out.println (result.getValue ());
    out.println (result.getValue ());
    and i am getting the the following error
    Fault Code = soap:Client
    Fault String = System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org//EarnNValue.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    Please help.
    Thanx
    GB

    <%@ page language="java" import="java.util.*, java.io.*, javax.mail.*, java.net.*, org.apache.soap.util.xml.*, org.apache.soap.encoding.soapenc.BeanSerializer, org.apache.soap.encoding.*,org.apache.soap.*, org.apache.soap.rpc.*"%>
    <%
    try
    out.println ("Starting");
    System.out.println("heree");
    Call call = new Call ();
    System.out.println("here");
    SOAPMappingRegistry soap = new SOAPMappingRegistry();
    call.setTargetObjectURI ("http://tempuri.org/");
    call.setMethodName ("EarnNValue");
    call.setEncodingStyleURI("http://schemas.xmlsoap.org/soap/encoding/");
    Vector params = new Vector ();
    params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("category_id", String.class, "club",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("transaction_date", String.class, "16/07/04 14:41:20",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("parameter_id", String.class, "login",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("parameter_value", String.class, "1",Constants.NS_URI_SOAP_ENC));
    call.setParams (params);
    Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
    if (resp.generatedFault ())
    Fault fault = resp.getFault ();
    System.out.println ("Something is wrong");
    System.out.println (" Fault Code = " + fault.getFaultCode ());
    System.out.println (" Fault String = " + fault.getFaultString ());
    else
    Parameter result = resp.getReturnValue ();
    System.out.println (result.getValue ());
    out.println (result.getValue ());
    catch (Exception e)
    System.out.println ("********Exception*******");
    System.out.println (e);
    out.println ("Ending");
    %>

  • Error running web service enabled from ApplicationModule Service Interface

    Hi,
    I have created a web service from from ApplicationModule Service Interface and exposed a view instance update operation. When I run the service (right click on serviceimpl and run), I am getting the following error
    <BEA-101371> Error: There was a failure when processing annotations for application context. Please make sure that the annotations are valid. The error is message
    Description     There was a failure when processing annotations for application context. Please make sure that the annotations are valid. The error is message
    Cause     The descriptor has an invalid servlet-class, filter-class or listener-class
    Action     Fix the descriptors in application or the library.
    I have looked at web.xml, weblogic.xml, but couldn't figure out the issue.
    Our packaging structuring is some like this.
    Model -> Contains EO's, associations
    UIModel -> Contains AM, VO's Webservices
    UI -> Jsp, taskflows.
    But when I tried created a sample application with Model and View Controller. and a webservice in Model project, it runs OK.
    Please guide with on this issue.
    Appreciate your help in advance.
    Regards,
    Vara

    I am getting the same error. What was the solution that worked for you? Please help

  • Web Services Test ORA-28150: proxy not authorized to connect as client

    Oracle 11g R2 APEX 4.2 with the latest listener.
    Trying to click on the test button on the Oracle.example.hr sample under the SQL WORKSHOP Restful Services and receive the following error:
    Internal Service Error 500
    Error during evaluation of resource template: GET hr/employees/, SQL Error Code: 28,150, SQL Error Message: ORA-28150: proxy not authorized to connect as client
    I have the APEX_REST_PUBLIC_USER and APEX_LISTENER created from the supplied scripts and have executed the DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE.
    We can't get the web services to work.
    2 days wasted on this issue; Any help would be greatly appreciated!
    Edited by: 970698 on Nov 13, 2012 6:39 AM
    Edited by: 970698 on Nov 13, 2012 6:40 AM

    The error is saying that for whatever reason APEX_REST_PUBLIC_USER cannot proxy to the SCHEMA (APEX WORKSPACE) where the RESTful Service is defined.
    Allow me explain how RESTful Services are invoked in Listener 2.0
    - It is important that the RESTful Service is invoked as the SCHEMA user that the RESTful Service is defined in, to make sure the correct database security rules/constraints are applied when executing the query/pl sql block associated with the service.
    - The mechanism Listener uses to do this is called connection proxying, which is a facility provided by the Oracle database to switch a connection from one user to another.
    - Of course if you could switch from user A to user B without restriction that would not be good. Instead user B must grant user A the privilege to proxy to user B's identity.
    - Thus when an APEX workspace first has a RESTful Service created in it, it performs this grant, giving APEX_REST_PUBLIC_USER the privielge to proxy to the workspace/schema where the RESTful Service is defined.
    - Then when the RESTful Service definition is being evaluated for execution by the listener it proxies from APEX_REST_PUBLIC_USER to the workspace schema user immediately before executing the query/plsql of the service.
    - It looks like the granting of the proxy privilege has not happened/failed for some reason.
    Can you tell me:
    - If the workspace where the service was defined is a newly created workspace, i.e it was created after installing APEX 4.2?
    - If the workspace was created before or after running apex_rest_config.sql?
    A manual workaround for your problem would as the SYS user, do:
    ALTER USER <apex_workspace_name> GRANT CONNECT THROUGH apex_rest_public_user;
    Regards,
    Colm

  • User is not authorized

    Hi,
    I have a reqt where i have to create auth on 2 info object namely location and region. I have done following steps but when i run the query i get "user is not authorized" error
    1: Made location authorization relevant and in navigational attribute checked region as authorization relelvant
    2: In rsecadmin , created analysis authorization for location and region specifying the value and also provided the 3 other 0TCT* auth.
    3: Creater a role with auth object s_rs_auth and assigned the created analysis auth. Also added 2 auth object s_rs_comp with full auth except display and execute and s_rs_comp1 since queries are build by other person
    4: assigned this role to the user
    5: when i run the query i see the reqd  5 location and 1 region in variable input help but when i execute it gives me "user is not authorized" error.
    Please let me know if i miss any step or how can i get the data
    Thanks
    Prashant

    Hello prashant,
    It is possible with Analysis authorization. You're just probably missing something...
    First of all realize that in your first step:
    1: Made location authorization relevant and in navigational attribute checked region as authorization relelvant
    assigning a characteristic as authorizationRelevant and assigning an attribute as authorizathionRelevant are two distinct things.
    So please check the authorization created under RSECADMIN that you've included authorization for the characteristic "location" and also for the characteristic "location__region" (and not for "region"!)
    If so you do have to check what is missing:
    check transaction RSECADMIN -> Analysis -> Execute as... to analyze the system authorization check.
    Please test that... It would show the sql code that lacks for authorization, there you can see what characteristic (and values accessed and assigned) are missing.
    Diogo.

  • Unable to use Datasource.cfc in Admin API - The current user is not authorized to invoke this method

    Hi Everyone,
    I am having some issues accessing the methods in the datasource.cfc in the adminAPI.
    I can successfully load the administrator CFC and am told that I have successsfuly logged in;
    But when I try to subsequently load the datasource.cfc I get an error that the current user is unable to access the method.
    /* Create an Admin API object and call the login method */
                                                      var local = {};
                                                      local.adminObj = createObject("component", "cfide.adminapi.administrator");
                                                      /* Enter your password for the CF Admin */
      /* if you dump this - TRUE is returned */
                                                      local.adminObj.login(adminPassword="my_admin_user_password");
                                                      /* Create an object of datasource component */
                                                      local.dsnObj = createObject("component", "cfide.adminapi.datasource");
      writeDump(local.dsnObj.getDataSources());
    I tried creating separate admin users and passwords - yhinking that perhaps a revent hotfix had stopped the "admin" user from being allowed to use the adminAPI - but changing to a new adminuser yielded the same results.
    I could login to the admin API with the new username and passsword - but could not access the datasource.cfc after that.
    Here is the debug output from the error...
    The current user is not authorized to invoke this method.
    The error occurred in accessmanager.cfc: line 48
    Called from datasource.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 155
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 52
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 45
    Called from C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: line 1
    -1 : Unable to display error's location in a CFML template.
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser 
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
    Remote Address 
    127.0.0.1
    Referrer 
    Date/Time 
    22-Apr-13 01:09 PM
    Stack Trace
    at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:/cf10_final/cfusion/wwwro ot/CFIDE/adminapi/accessmanager.cfc:48) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:/cf10_final/cfusion/wwwroot/ CFIDE/adminapi/datasource.cfc:52) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:/inetpub/wwwroot/projectD ir/trunk/Application.cfc:155) at cfApplication2ecfc498167235$funcINIT.runFunction(C:/inetpub/wwwroot/projectDir/trunk/Appl ication.cfc:52) at cfApplication2ecfc498167235._factor5(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc: 45) at cfApplication2ecfc498167235.runPage(C:/inetpub/wwwroot/projectDir/trunk/Application.cfc:1 )
    coldfusion.runtime.CustomException: The current user is not authorized to invoke this method. at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799) at cfaccessmanager2ecfc974154242$funcCHECKADMINROLES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\accessmanager.cfc:48) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfdatasource2ecfc1679861966$funcGETDATASOURCES.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\adminapi\datasource.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfApplication2ecfc498167235$funcPREREQUISITESTART.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:155) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235$funcINIT.runFunction(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:52) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfApplication2ecfc498167235._factor5(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:45) at cfApplication2ecfc498167235.runPage(C:\inetpub\wwwroot\projectDir\trunk\Application.cfc:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:538) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:234) at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:159) at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:120) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:138) at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:84) at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:232) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    And here is the listed exceptions, beneath the stack trace;
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - cfadminapiSecurityError Exception - in E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc : line 48
             The current user is not authorized to invoke this method.
    13:09:56.056 - java.io.FileNotFoundException - in C:/ColdFusion10/cfusion/wwwroot/WEB-INF/exception/errorcontext.cfm : line 44
             E:/cf10_final/cfusion/wwwroot/CFIDE/adminapi/accessmanager.cfc (The system cannot find the path specified)
    This perspn seems to be having the same issue;
    http://forums.adobe.com/message/5051892
    and I agree I don't have "E" drive either!

    I've found a solution to my plight - I don't know if it'll work for you or help you try something that MAY fix it.
    I use a common code set which includes the Application.cfc from a CF Mapping - So, in the application.cfc in the actual website I do this:-
    <cfinclude template="/UberDirectory/Application.cfc">
    Then, in the /UberDirectory/Application.cfc, I was initialising a CFC which checks if the datasource was created for the website. The datasource checking code attempts to log into the Admin API and check & create if necessary the datasource.
    This has previously worked without fail for me - But in this instance it failed!! I was doing two things wrong - Firstly, the CFC should only be called in the Application.cfc in the onRequestStart section as the Application had to be initialised first - This is maybe because I've invoked the application.cfc in a "non-standard" manner.
    Secondly, once I'd moved the CFC invocation into oNRequestStart I saw the following error:-
    The string COOKIE.CFAUTHORIZATION_uber-directory is not a valid ColdFusion variable name.
    I had this as the app name .... <cfset this.name = 'uber-directory'>
    Changedthe dash to an underscore and I was away and could once again check the datasources
    Hope it helps
    Martin

  • Testing web service results in no response, but HTTP Error 500

    Hi All,
    I've already solved my problem, but I wanted to share my results. It took two days of pain, so you could imagine how wonderful I felt when it was solved. :)
    Problem: I am exposing PL/SQL procedures as web services, using JDeveloper 10.1.3. I noticed that when I expose procedures that return complex types (like records), it caused all of the web service calls to die silently. I couldn't see any other errors except Apache's HTTP 500 error. But when I ran the web service locally using JDeveloper's OC4J engine, I didn't receive any errors. Everything worked. I looked at the opmn/logs/* dir, and still no signs of the real error. So I set out to learn where I could view more logs, and I eventually found the error inside $ORACLE_HOME/j2ee/MyConatiner/log/MyContainer*/oc4j/log.xml, after I increased the verbosity.
    Solution: I found the "NoClassFound" error after I fiddled with j2ee-logging.xml. The funny part is, the error did not show up in the ERROR or INTERNAL_ERROR module types. Some of the wrapper Java classes that were generated to deal with complex types (records) and even arrays, were not being included in the EAR/WAR file for deployment! That's why when I ran the web service locally using JDeveloper, there were no errors (since the classes were present). Now, before I deploy I always check what is being deployed... :)
    Here's what I learned through the process. Hope it's helpful!
    keywords: http 500 error empty test response reply web service deploy complex data types arrays logs pl/sql procedures functions
    Debugging
    There are several places where logging occurs on Oracle Application Server 10.1.3.
    This is not a complete list, but it covers the main areas. Let's assume our OC4J
    container is called MyContainer:
    OPMN
        * tail -f $ORACLE_HOME/opmn/logs/*MyContainer*
        * To adjust the verbosity, use the Enterprise Manager web interface: click on
          the container, then on the Administration -> Logger Configuration. Now you can
          set the logging level for different components.
    Apache
        * tail -f $ORACLE_HOME/Apache/Apache/logs/*log
        * The file names depend on the ErrorLog? and CustomLog? directives in
           httpd.conf. You can adjust the verbosity by changing the LogLevel
           Apache directive.
    J2EE
        * tail -f $ORACLE_HOME/j2ee/MyContainer/log/MyContainer*/oc4j/log.xml
        * You can adjust the verbosity by editing
           $ORACLE_HOME/j2ee/MyContainer/config/j2ee-logging.xml. Look for the
           <logger> element, and set its 'level' attribute to 'TRACE:32' for the most
           information.
        * From experience, these logs are the best. :-)
    Oracle
        * tail -f $ORACLE_HOME/Apache/Apache/logs/oracle/log.xml
        * To enable and configure this logging system, add the following to your httpd.conf:
          OraLogMode oracle
          OraLogSeverity TRACE:32
          OraLogDir ORACLE_HOME/Apache/Apache/logs/oracle
        * More info: http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b25211/servlog.htm

    Thanks for sharing your tips on this forum, as it will be useful for other users, that run into this issue.
    Feedback like this will also help us improve error reporting in the next release, as missing class files in the packaged application is a common issue when developers are moving from the embeded oc4j instance packaged with JDewveloper to standalone instances.
    -Eric

  • Error Invoking Web Service Action: null

    I am using the WEBSERVICE action in the BLS to access a third party system.  I am getting an error during execution: [ERROR]: Error Invoking Web Service Action: null.  I cannot find any messages in any of the logs.  Even though the action fails, the remote WebService processes properly.  My basis guy seems to think that it is related to SOAP incompatibilities/versions.  Any other ideas floating around out there?  Any other methods to troubleshoot?  The external application uses Document-Literal Style web services and conforms to WS-I Basic Profile.

    All -
    Here is a trace.  My remote web service returns an empty SOAP body upon success (SOAP envelope only).  Is this causing the Null Pointer Exception??
    PS - I am also getting a lot of "WARNING: received an illegal cookie" messages.  Is this a problem.
    [Wed Mar 19 16:38:08 EDT 2008] <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope ...xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body> ...blah, blah...</soap:Body>
    </soap:Envelope>
    [Wed Mar 19 16:39:09 EDT 2008] java.lang.NullPointerException
    [Wed Mar 19 16:39:09 EDT 2008]      at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:590)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.Action.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Execute(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.services.Runner.doGet(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.cms.system.CMSFilter.doFilter(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Version
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2

  • How to create iView to run Web Service

    Hi,
    I need create iView on EP7 NW2004S SP12 portal to run Web Service provided on SRM 6.0 system.
    Here is how I have attempted to create the iView:
    1. Right click and select New =>iView.
    2. Select "iView Template" radio button.
    3. Select "Web Service iView" radio button to specify Web Service Template.
    4. Enter name and ID of iView.
    5. Select System Alias of System defined earlier.
    At this point, the portal attempts to connect to the ECC system, and it fails with this error, and I cannot finish the create of the iView.
    Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter.
    Here are the key parameters defined for the System referenced by the system alias:
    WSDL_URL:http://sap2.mycompany.com:50000/SRM-MDM/SRM_MDM
    Logon Method:UIDPW
    User Mapping Type:admin, user
    CodeLink:com.sap.portal.systems.webservices.webservice_system
    I've also created a usermapping for the Everyone group, and provided the userid and password for the system alias successfully.
    Thanks,
    Kevin

    Thank you for that information.  I had not previously seen a procedure on how to setup an iView to run a web service. 
    I had created the System just as described in this blog, but I still have a problem.  When creating the iView (on the last step of process when I click Finish), the portal attempts to connect to the SRM system, and it fails with the error highlighted below.
    Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter.
    I get an error in System Administration as well when I test the connectivity for the System object.
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results:
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    How does the security need to be setup to make this work?  Or what could be causing this error?  I do have SSO configured between the portal and the target system.
    Thanks,
    Kevin

  • Error creating web service from WSDL in 11.1.2.0.0

    Hello,
    I have just installed JDeveloper 11.1.2.0.0. I tried to test a web service created (and successfully tested) in 11.1.1.5.0. The service is deployed to internal WebLogic server but when I call "Test Web Service" this is the error I get:
    The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read.
    java.lang.IllegalStateException: SSLContextImpl is not initialized
         at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.ServiceTester$3.run(ServiceTester.java:262)
         at java.lang.Thread.run(Thread.java:662)
    Then I tried to create a new project and Java web service from WSDL, but on the second step of the "Java Web Service from WSDL" wizard when I select WSDL file from the disk and click "Next" I get
    java.lang.IllegalStateException: SSLContextImpl is not initialized
    java.lang.IllegalStateException: SSLContextImpl is not initialized
         at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:484)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:455)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1050)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    I performed fresh install of this new JDeveloper version in new Middleware home with all the default options and this is the first thing I tried.
    Any hints?
    Thanks,
    Bruno

    Hi Vishal,
    no, I don't see any HTTPS security settings defined. The thing is that this worked just fine in 11.1.1.5.0 version. I installed 11.1.2.0.0 and the first thing I tried was testing this web service. Right away I get this error. I also tried creating Web Service Client Proxy for this web service and I get the same exception. I looks to me that this happens when wizard tries parsing WSDL...
    But, I got another error when I opened "Java Web Service Editor" for this web service and selected "Methods":
    NPE in o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel:702
    Performing action (35) Project Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService.jpr, VegaService.jpr, DMSVegaAdapter.jws ) ]
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:02 AM IndexFacade runQuery
    INFO: Having to guess workspace
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:28 AM IndexFacade runQuery
    INFO: Having to guess workspace
    Performing action (23) Find... [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (56) Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService, VegaService.jpr, DMSVegaAdapter.jws ) ]
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:09:32 AM IndexFacade runQuery
    INFO: Having to guess workspace
    java.lang.NullPointerException
    java.lang.NullPointerException
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.populateListImpl(SelectMethodsPanel.java:702)
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.access$600(SelectMethodsPanel.java:82)
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel$4$1.run(SelectMethodsPanel.java:603)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    j.a.Dialog$1.run(Dialog.java:1046)
    j.a.Dialog$3.run(Dialog.java:1098)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1096)
    j.a.Component.show(Component.java:1585)
    j.a.Component.setVisible(Component.java:1537)
    j.a.Window.setVisible(Window.java:842)
    j.a.Dialog.setVisible(Dialog.java:986)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
    o.i.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
    o.ji.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:313)
    o.ji.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1672)
    o.ji.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
    o.i.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1469)
    o.i.controller.IdeAction.performAction(IdeAction.java:662)
    o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
    o.i.controller.IdeAction.actionPerformed(IdeAction.java:617)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.AbstractButton.doClick(AbstractButton.java:357)
    jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
    j.a.Component.processMouseEvent(Component.java:6289)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6054)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4652)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$2.run(EventQueue.java:617)
    j.a.EventQueue$2.run(EventQueue.java:615)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:614)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Regards,
    Bruno

  • Errors installing web service to use dreamweaver extension

    Portal Version: 10g
    OS/Vers. Where Portal is Installed:: Linux AS 2.1
    Errors installing web service to use dreamweaver extension
    Recently I download the dreamweaver extension for portal, but when I try to install it several errors are raised... in the installation guide the next message appear:
    This installation for this feature is an easy 3 step procedure.
    1. Installing the Portal web service
    2. Configuring the web service to work with your portal (one time administrative process)
    3. Installing the PortalTemplates extension for Dreamweaver MX
    well but when I try to run the 1 step everything goes wrong...
    in the guide say:
    # Transfer this file to the OC4J_HOME/j2ee/home directory of the OC4J
    (please make sure that the OC4J is up and running)
    # Use the following command to install the web service
    java -jar admin.jar ormi://<oc4j_host>:<oc4j_ormi_port>
    <username> <password>
    -deploy -file portalTemplate.ear -deploymentName portalTemplate
    here it's where I have some questions,
    1. the ormi referers to the rmi ok (I think that), well then I go tho the iasconsole and search for the ports and is show:
    home RMI 3202
    OC4J_Portal RMI 3203
    OC4J_BI_Forms RMI 3204
    then I use the home-> port 3202
    java -jar admin.jar ormi://myhost.midtierinstall.com:3202
    ias_admin ias_midtier_admin_password -deploy -file portalTemplate.ear -deploymentName portalTemplate
    but the following messages appear :
    Error: Unable to find java:ServerAdministrator : lookup error:javax.naming.AuthenticationException invalid username/passwod for default (ias_admin).... and the error continue... but the problem is that the password works when I use the enterprise manager in that midtier console...
    I want to know if I'm doing something wrong or how I should use this command to install that web service

    The ormi is the rmi port in the OC4J. This coold be found in oc4j_home/j2ee/home/config/rmi.xml file. The default port is 23791.
    Hope this helps,
    Ramya

  • Error Consuming Web Services

    Hi All,
    I'm using CFINVOKE to consume an enterprise web service.  Now, I'm not well versed in web services.  But, from reading the CF documentation on them, you're supposed to be able to use <CFINVOKE...> to access them.  So, on my test page I have:
    <cfinvoke webservice="http://domain.xxx/webservice/EnterpriseWebService?WSDL" method="neededMethod" returnVariable="theOutput">      <cfinvokeargument name="input1" value="#myInput#" />
    </cfinvoke>
    I'm trying to use a method called "neededMethod".  When the <cfinvoke...> tag is reached, I get the following error: coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 2 semantic errors compiling "/export/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/stubs/WS-147004589 /EnterpriseWebService/webservice/xxx/gov/us/EnterpriseWebService.java: 13. public EnterpriseWebService.webservice.xxx.gov.us.EnterpriseWebServicePort getEnterpriseWebServicePort() throws javax.xml.rpc.ServiceException; ^--------^ *** Semantic Error: Type "EnterpriseWebService.webservice.xxx.gov.us.EnterpriseWebService$webservice" was not found.  15. public EnterpriseWebService.webservice.xxx.gov.us.EnterpriseWebServicePort getEnterpriseWebServicePort(java.net.URLportAddress) throws javax.xml.rpc.ServiceException; ^--------^ *** Semantic Error: Type "EnterpriseWebService.webservice.xxx.gov.us.EnterpriseWebService$webservice" was not found 8 semantic errors compiling "/export/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/stubs/WS-147004589 /EnterpriseWebService....
    I looked at the Java files in the referenced directories.  They seem to be generated by something called Axis. But, compiling these fail. Is there something in the CF admin that I can tweak?

    Place your wsdl on your URL browser, and at the bottom of the output, there should be a an http pointing to your webserver. Make sure that your server domain or IP address is listed on the http pointer. If not, then correct and run.
    Try that, and see how it goes.
    HTH.
    Melvin T.

  • Error consuming Web service with object hierarchy

    I am creating a Web reference to a Web service deployed on JBoss application server. Incidentally, I am able to consume this Web service and run a client against it in .NET. Sun Java Studio Creator has a problem with one of methods in my Web service.
    As far as I can tell from my experimentation, the problem lies in the fact that the JavaBean returned from the Web service extends another JavaBean (rather than Object). When I flatten the value object in question, I am able to run the same Web service method in Studio Creator.
    I encountered the following post on this forum: http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=49056. It appears to describe a similar problem. I tried to follow the instructions in that forum by upgrading the JWSDP version (to 1.5) to no avail. I continue to receive the following error when trying to test the Web Service method after creating a Web Service reference in Creator.
    The relevant error appears to be
    deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: entityID (where entityID is one of the attributes of the object being returned by the Web Service, which is defined in that object's parent class).
    InvocationTargetException com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100) null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100) Runtime exception; nested exception is: deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: entityID com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:248) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:230) webservice.carmanagerservice.CarManager_Stub.findAllAsArray(CarManager_Stub.java:358) webservice.carmanagerservice.CarManagerServiceClient.carmanagerserviceFindAllAsArray(CarManagerServiceClient.java:35) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100) deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: entityID com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:82) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:163) webservice.carmanagerservice.CarManager_Stub.findAllAsArray(CarManager_Stub.java:358) webservice.carmanagerservice.CarManagerServiceClient.carmanagerserviceFindAllAsArray(CarManagerServiceClient.java:35) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns:intf="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:CarManager" xmlns:tns2="http://common.ejb.application.jetson.datasourceinc.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="http://common.ejb.application.jetson.datasourceinc.com" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType abstract="true" name="InfoBase"><sequence><element name="primaryKey" nillable="true" type="xsd:long"/><element name="filterType" nillable="true" type="xsd:short"/><element name="userID" nillable="true" type="xsd:string"/><element name="lastUpdateDate" nillable="true" type="xsd:dateTime"/><element name="entityID" nillable="true" type="xsd:long"/></sequence></complexType><complexType name="BusinessException"><sequence><element name="scriptMessage" nillable="true" type="xsd:string"/><element name="errorCode" type="xsd:int"/></sequence></complexType></schema><schema targetNamespace="urn:CarManager" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="CarInfo"><complexContent><extension base="tns2:InfoBase"><sequence><element name="year" nillable="true" type="xsd:int"/><element name="make" nillable="true" type="xsd:string"/><element name="model" nillable="true" type="xsd:string"/></sequence></extension></complexContent></complexType><complexType abstract="true" name="List"><sequence><element name="empty" type="xsd:boolean"/></sequence></complexType></schema><schema targetNamespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ArrayOf_tns1_CarInfo"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:CarInfo[]"/></restriction></complexContent></complexType></schema></wsdl:types>
    <wsdl:message name="createRequest">
    <wsdl:part name="in0" type="tns1:CarInfo"/>
    </wsdl:message>
    <wsdl:message name="findByPrimaryKeyResponse">
    <wsdl:part name="findByPrimaryKeyReturn" type="tns1:CarInfo"/>
    </wsdl:message>
    <wsdl:message name="removeRequest">
    <wsdl:part name="in0" type="tns1:CarInfo"/>
    </wsdl:message>
    <wsdl:message name="findByPrimaryKeyRequest">
    <wsdl:part name="in0" type="xsd:long"/>
    </wsdl:message>
    <wsdl:message name="updateRequest">
    <wsdl:part name="in0" type="tns1:CarInfo"/>
    </wsdl:message>
    <wsdl:message name="createResponse">
    <wsdl:part name="createReturn" type="tns1:CarInfo"/>
    </wsdl:message>
    <wsdl:message name="removeResponse">
    </wsdl:message>
    <wsdl:message name="findAllAsArrayResponse">
    <wsdl:part name="findAllAsArrayReturn" type="impl:ArrayOf_tns1_CarInfo"/>
    </wsdl:message>
    <wsdl:message name="findAllAsArrayRequest">
    </wsdl:message>
    <wsdl:message name="updateResponse">
    <wsdl:part name="updateReturn" type="tns1:CarInfo"/>
    </wsdl:message>
    <wsdl:message name="BusinessException">
    <wsdl:part name="fault" type="tns2:BusinessException"/>
    </wsdl:message>
    <wsdl:portType name="CarManager">
    <wsdl:operation name="remove" parameterOrder="in0">
    <wsdl:input message="impl:removeRequest" name="removeRequest"/>
    <wsdl:output message="impl:removeResponse" name="removeResponse"/>
    <wsdl:fault message="impl:BusinessException" name="BusinessException"/>
    </wsdl:operation>
    <wsdl:operation name="create" parameterOrder="in0">
    <wsdl:input message="impl:createRequest" name="createRequest"/>
    <wsdl:output message="impl:createResponse" name="createResponse"/>
    <wsdl:fault message="impl:BusinessException" name="BusinessException"/>
    </wsdl:operation>
    <wsdl:operation name="update" parameterOrder="in0">
    <wsdl:input message="impl:updateRequest" name="updateRequest"/>
    <wsdl:output message="impl:updateResponse" name="updateResponse"/>
    <wsdl:fault message="impl:BusinessException" name="BusinessException"/>
    </wsdl:operation>
    <wsdl:operation name="findByPrimaryKey" parameterOrder="in0">
    <wsdl:input message="impl:findByPrimaryKeyRequest" name="findByPrimaryKeyRequest"/>
    <wsdl:output message="impl:findByPrimaryKeyResponse" name="findByPrimaryKeyResponse"/>
    <wsdl:fault message="impl:BusinessException" name="BusinessException"/>
    </wsdl:operation>
    <wsdl:operation name="findAllAsArray">
    <wsdl:input message="impl:findAllAsArrayRequest" name="findAllAsArrayRequest"/>
    <wsdl:output message="impl:findAllAsArrayResponse" name="findAllAsArrayResponse"/>
    <wsdl:fault message="impl:BusinessException" name="BusinessException"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="CarManagerServiceSoapBinding" type="impl:CarManager">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="remove">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="removeRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="removeResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:output>
    <wsdl:fault name="BusinessException">
    <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="create">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="createRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="createResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:output>
    <wsdl:fault name="BusinessException">
    <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="update">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="updateRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="updateResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:output>
    <wsdl:fault name="BusinessException">
    <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="findByPrimaryKey">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="findByPrimaryKeyRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="findByPrimaryKeyResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:output>
    <wsdl:fault name="BusinessException">
    <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="findAllAsArray">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="findAllAsArrayRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="findAllAsArrayResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:output>
    <wsdl:fault name="BusinessException">
    <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="CarManagerService">
    <wsdl:port binding="impl:CarManagerServiceSoapBinding" name="CarManagerService">
    <wsdlsoap:address location="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • CompileException: Error compiling web service (using ant jwsc)

    Hi,
    I try to use the ant task jwsc to create my portable artefacts for a web service.
    Unfortunately I get the following exception:
    BUILD FAILED
    C:\Sun\jwsdp-2.0\apache-ant\bin\build.xml:7: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\Sun\jwsdp-2.0\apache-ant\bin\src\test\WsTest.java
    I do not know why the ant task can not compile my jws file (shown below) whereas Eclipse can!
    package test;
    import javax.jws.WebService;
    @WebService (name="WsTestName", serviceName="WsTestServiceName")
    public class WsTest {
    * @param name
    * @return Say hello to the person.
    public String sayHello(String name) {
    return "Hello, " + name + "!";
    I hope somebody can help me.
    Thanks
    Franz

    I thought I would post an update since I found a solution. The problem was a ClassCast exception in a part of the SSL stack, that wanted to use the ant BuildException class. This has the effect of hiding the real issue which was that the SSL connection was not successfully occuring. The real problem was that the SSL connection started with a WSDL retrieved via SSL, but the connection for the port was through a username/password. When a username/password is used to create a port, the WL stack falls back to http and causes a ClassCast exception on weblogic.wsee.connection.transport.http.HttpTransportInfo. The solution is to create an https transport object when the service impl is created:
    HttpsTransportInfo transport = new HttpsTransportInfo ();
    transport.setUsername (user.getBytes ());
    transport.setPassword (pass.getBytes ());
    gServiceImpl = new PersistenceManagerService_Impl (url, transport);
    and to create the port without parameters:
    port = getServiceImpl ().getPersistenceManagerServicePort ();
    This allows one-way SSL with username/password for the connection.

Maybe you are looking for

  • Allow user to take exams only once?

    Is there any way to allow a user to only take an exam once? I have 4 exams, and they are all seperate captivate files (IE: exam 1, exam 2, exam 3, exam 4), they are in no way linked together, but is there any way to see if a user has taken exam 1, an

  • Can you generate a Table of Contents using bookmarks?

    Hi, I am a newbie to InDesign and am probably missing the obvious but... I am creating a document in InDesign and want to generate a Table of Contents. I have just created a de facto ToC with Bookmarks for the exported PDF version of the file, but th

  • Step-by-Step procedure to create an InfoPackage Group & a Scenario!!

    Hello BW Experts, IF we have 10 InfoPackages and if we need to create an InfoPackage Group for 7 of them, How do we do it?? Plz provide a detailed Step-by-Step procedure for the same/ create an InfoPackage group!! Ur help is really appreciated!! Than

  • Photoshop cs3 error on xp sp3 32bit help me

    Hi today i run ProcessActivityView http://www.nirsoft.net/utils/process_activity_view.html and i get some errors in the log i found these C:\Programmi\File comuni\Adobe\caps\caps.db C:\Programmi\File comuni\Adobe\backup\caps.db C:\Documents and Setti

  • Airport card not working?

    I have a PowerBook G4, came with Airport card. We travel in an RV and over the past year have stayed at numerous campgrounds with WIFI, and my laptop has connected fine, as long as the signal strength is good enough. So I know it works, or at least h