Web Services Viewlets Don't Work ...

I've been pounding on the 1.0.2.2 App server and the 9i RC JDeveloper for over a month. My latest problem..
I've created a stateless java class in JDeveloper.
I've tested it functionality by running it at the command prompt.
I've followed the viewlets ex to create a web service from the statelesss java class.
I've followed the viewlets ex to create a web services stub with the stateless java class.
I've followed the viewlets ex to call the stub with another java class.
I get the following message below when I run the test class.
C:\JDev\jdk1.3\bin\javaw.exe -ojvm -classpath C:\jd\getCust\byID\classes;C:\JDevProj\wsdca\wsbuscomp\classes;C:\jd;C:\jdev\soap\lib\soap.jar;C:\jdev\soap\lib\wsdl.jar;C:\JDev\jdev\lib\jdev-rt.jar;C:\JDev\soap\lib\soap.jar;C:\JDev\lib\xmlparserv2.jar;C:\JDev\jlib\javax-ssl-1_2.jar;C:\JDev\jlib\jssl-1_2.jar;C:\JDev\j2ee\home\activation.jar;C:\JDev\j2ee\home\mail.jar;C:\JDev\j2ee\home\lib\http_client.jar;C:\JDev\jsp\lib\ojsp.jar;C:\JDev\jsp\lib\ojsputil.jar;C:\JDev\lib\servlet.jar;C:\JDev\jdev\lib\ojc.jar TestCustomer
In main **** ONE ****
In main **** TWO ****
In main **** THREE ****
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html; charset=iso-8859-1", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
<HR>
<ADDRESS>Oracle HTTP Server Powered by Apache/1.3.19 Server at nunn.dakine.net Port 80</ADDRESS>
</BODY></HTML>
     java.lang.String org.apache.soap.rpc.Call.getEnvelopeString(org.apache.soap.transport.SOAPTransport)
     org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
     java.lang.String CustomerStub.getCustById(java.lang.String)
     void TestCustomer.main(java.lang.String[])
Process exited with exit code 0.
I searched for the exception in OTN, and have found some help, so I've deselected the PROXY buttons for my JDeveloper env and the project. Still no help.
I've been wondering if anybody actually knows the answer. Could I have a mis-configured SOAP server.
Help Anybody...
Thanks,
Bill McCulloch

There is a limitation with the current version of Application Express and working with BPEL services. This post contains some relevant information from the metalink note:
Re: Web Service no parameter input
Also, further down is an example of using UTL_HTTP in a page process to interact manually with a Web service. A similar process could be written to interact with a BPEL process.
Jason

Similar Messages

  • Viewlets don't work

    Your Viewlets don't work with v 1.4 Java SDK. The only way to get them to work is to uninstall the 1.4 JVM.
    Any ideas ?
    Thanks.

    Hello Dominic,
    Thanks for informing us. Which Viewlets are you referring to? Whats the URL?
    Regards,
    Rajat

  • Pl/Sql web service and collections not working

    Hello
    I'm trying to create a web service from a function in a package which returns a collection. The creation of the web service and its deployment seem to work correctly. I do get the following warning :
    WARNING: OWS-00077 The Value Type class: pxWsLang.PamLanguagerecordBase does not have a valid JAVA Bean pattern
    but I don't think this is the source of the problem.
    When I try to test the web service using the endpoint in the wsdl I get the following answer in the browser:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>Error creating target: pxWsLang.WsLangUser</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    In the DOS window for the OC4J I get the following error :
    2006-11-15 09:21:25.852 ERROR OWS-04005 An error occurred for port: {http://pxWs
    Lang/WsLang.wsdl}wsLangSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creati
    ng target: pxWsLang.WsLangUser.
    The PL/SQL code is as follows :
    Object:
    CREATE OR REPLACE TYPE PAM_LanguageRecord as OBJECT
    NR NUMBER(3),
    SYMBOL VARCHAR2(2)
    Collection:
    CREATE OR REPLACE Type PAM_LanguageTable as Table of PAM_LanguageRecord;
    Package body :
    create or replace package body PAM_TEST is
    function CursorTest return Pam_LanguageTable is
    Res_LangTable PAM_LanguageTable;
    cursor cur is select * from stc_languages;
    begin
    Res_LangTable := new PAM_LanguageTable();
    for Rec in cur loop
    Res_LangTable.Extend(1);
    Res_LangTable(cur%ROWCOUNT) := new PAM_LanguageRecord
    (Rec.NR,
    Rec.SYMBOL
    end loop;
    Return Res_LangTable;
    end;
    end;
    I'm using JDeveloper version 10.1.3.1.0.3984
    How can I get this to work ? (without using Apache Axis or other tools :-)
    Is it supposed to work ?
    Many Thanks
    Paul

    Hi,
    for the "error creating target" problem I found the solution here:
    [WS from a PL/SQL package]: Error creating target
    Hope this helps.
    Regards,
    Patrik

  • Web Services Client is not working fine on JBOSS 4.0.4.GA

    Dear Team,
    we had JBOSS AS 4.0.3 and web services was build on EJB which was working fine. we new have to migrate it to JBOSS 4.0.4.GA Application Server....
    we have generated wsdl, webservices.xml and jaxrpc-mapping.xml file from wstools.exe of JBOSS AS 4.0.4.GA and we are able to see the web services wsdl on web browser.... but when we execute the same client which was earlier running for JBOSS 4.0.3 it throws error saying
    javax.xml.rpc.ServiceException :modeler error : uniqueness constraint voilation, duplicate member found "type" to javastructureType "userDetails"
    rgrds,
    ~J

    Please provide the following information:
    - Help > About BEA Workshop studio - build #
    - Window > Preferences > Java - Installed JREs - what is your default JRE selection?
    - Run > Run... _ J2EE Server > JBoss 4.0 - Have you customized any of the default values. Ex: Arguments, Classpath ...
    - What kind of application are you trying to debug Struts/JSF?
    - Can you try to reproduce the problem with the bundled samples workshop-struts-tour/bookstore (run the app and modify one of the configuration file).
    - Do you see the same behavior with Sun JDK?
    - Finally, copy-paste the first line from the "Console View"
    Message was edited by:
    ram.v

  • HTTPS Web Service datastore : does not work in case of proxy

    Data Services 12.2 on Windows XP SP2
    I've set up a datastore, type "web service", url is https://.... (an external web service, outside of our company)
    I'm able to import the functions of this web service into the datastore.
    In a DF, in a query transform, I call one these functions.
    The job fails with this error message :
    There is no response for the web service <searchCertificate>. Ensure that the network, web server, and service are running properly. Also ensure that the service client call time out is set properly.
    I'm sure the web service is active. I have to pass a proxy.
    When I do not have to pass a proxy (when I execute this job on my laptop not connected to the office network) the job runs fine !
    How can you configure the axis2.xml so that https can run with a proxy ? (no problem to do this for http web services, but I do not see a solution for https web services !)
    Thanks !!

    Hi Sukarna,
    the connection is not the problem.
    Actually I've tested the scenario of abap proxy --> PI -->abap proxy for the same interface, it works fine. Only when I try ws instead of proxy, I got this error. Since proxy scenario works fine, the connection should not be issue.
    any more clues?
    Thanks

  • Asynchronous web service call doesn't work

    Hi,
    I'm trying to convert a synchronous web service call into an asynchronous call. (Folder-level Javascript, Acrobat Professional 8.1, Windows XP).
    Everything works fine when I call Soap.Request as a synchronous call. It calls the web service and gets the expected result. However, when I try to convert Soap.Request into an asynchronous call by adding the OAsync property, as described on pp. 198-199 of "Developing Acrobat Applications Using JavaScript," NONE of the various OAsync functions (i.e. result, response, wait) are ever called. IOW, the Javascript code continues executing after the Soap.Request call and doesn't wait for my web service call to return. Indeed, the web service method on the server doesn't even BEGIN to execute by the time the Javascript code runs to completion. (I can confirm this by watching my ASP.Net code execute in the Visual Studio debugger. In fact, the Javascript code runs to completion even before the Global.asax Session_Start code begins to execute, much less the web service method itself.) So, the problem is not with the web service, which works fine when Soap.Request is called as a synchronous method.
    To reiterate, my Javascript code is identical to the code on pp. 198-199 of "Developing Acrobat Applications Using JavaScript." In troubleshooting this, I've tried calling the OAsync functions (mySync.wait(), mySync.result(), mySync.response()) after calling the Soap.Request, but nothing works.
    Is there something else that I must add to my Javascript code (e.g. an additional Soap.Request property, or something after calling Soap.Request) to force the Javascript to wait until the web service method returns?
    Thanks,
    Bill

    Hi Lukasz,
    you can also define namespace the later in the operation GetOpenOrders itself, e.g.:
    <tem:GetOpenOrders xmlns:tem=u201Dhttp://tempuri.org/u201D>
    It does not need to be part of the Envelope element.
    Best regards
    Bastian

  • Glassfish Web Service XSLT Transformation Not Working

    Hi,
    I've got a problem transforming an incoming soap request from a Microsoft Web Services Toolkit client. Basically, I've got a JAX-WS web service deployed to Glassfish v2 b33 which works fine when called by a Java client, but when called from the MS web services toolkit, some extra namespace elements are added to the SOAP request which the JAX-WS service doesn't seem to like. The incoming soap request looks like: <SOAP-ENV:Envelope
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <SOAP-ENV:Header/>
         <SOAP-ENV:Body>
               <SOAPSDK4:getConfig xmlns:SOAPSDK4="http://ws.firestorm.alternativenetworks.com/">
              <SOAPSDK4:arg0>Inbound</SOAPSDK4:arg0>
         </SOAPSDK4:getConfig>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope> The problem lies with <SOAPSDK4:arg0>Inbound</SOAPSDK4:arg0>, in that the inclusion of SOAPSDK4 for any arguments (i.e. arg0, arg1) results in the values for the arguments reaching the web service as null. I've tested sending the SOAP request with a tcpmon utility, and the same soap request (as above) without the SOAPSDK4 in the arg0 element (i.e. <arg0>Inbound</arg0>) works fine.
    So I tried using the Transformation feature of glassfish, transforming the incoming SOAP request using the following XSLT file which I have tested and am sure works (I'm no XSLT guru so this will definitely need some tidying up): <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet  version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <xsl:output method="xml" indent="yes"/>
         <xsl:template match="*">
              <xsl:copy><xsl:copy-of select="@*"/><xsl:apply-templates/></xsl:copy>
         </xsl:template>
         <xsl:template match="/SOAP-ENV:Envelope/SOAP-ENV:Body/*">
              <xsl:copy>
                   <xsl:copy-of select="@*"/>
                   <xsl:for-each select="*">
                        <xsl:text disable-output-escaping="yes"><arg></xsl:text>
                        <xsl:value-of select="position() - 1"/>
                        <xsl:text disable-output-escaping="yes">></xsl:text>
                        <xsl:value-of select="."/>
                        <xsl:text disable-output-escaping="yes"></arg></xsl:text>
                        <xsl:value-of select="position() - 1"/>
                        <xsl:text disable-output-escaping="yes">></xsl:text>
                   </xsl:for-each>
              </xsl:copy>
         </xsl:template>
    </xsl:stylesheet>I load the .xsl file using the Transformation utility which seems to work fine, but when a request comes in from the MS client I get the following error: [#|2007-05-11T09:23:46.530+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Thread-15;com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:1, ts:1178871826530];|ADM1041:Sent the event to instance:[com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:1, ts:1178871826530]]|#]
    [#|2007-05-11T09:27:31.675+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=httpWorkerThread-4848-0;com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:2, ts:1178872051675];|ADM1041:Sent the event to instance:[com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:2, ts:1178872051675]]|#]
    [#|2007-05-11T09:28:00.269+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=89eadb09-2894-4ace-95f6-75043c1e6988;|
    ERROR:  ''|#]
    [#|2007-05-11T09:28:00.285+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=89eadb09-2894-4ace-95f6-75043c1e6988;|
    com.sun.enterprise.admin.wsmgmt.transform.TransformException: javax.xml.transform.TransformerException: java.lang.NullPointerException
         at com.sun.enterprise.admin.wsmgmt.transform.FilterChain.process(FilterChain.java:238)
         at com.sun.enterprise.admin.wsmgmt.transform.TransformFilter.process(TransformFilter.java:144)
         at com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRouter.applyFilters(FilterRouter.java:69)
         at com.sun.enterprise.admin.wsmgmt.agent.GlobalMessageListenerImpl.processRequest(GlobalMessageListenerImpl.java:181)
         at com.sun.enterprise.webservice.monitoring.WebServiceEngineImpl.processRequest(WebServiceEngineImpl.java:265)
         at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRequest(JAXWSEndpointImpl.java:53)
         at com.sun.enterprise.webservice.MonitoringPipe.process(MonitoringPipe.java:127)
         at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:70)
         at com.sun.xml.ws.mex.server.MetadataServerPipe.process(MetadataServerPipe.java:97)
         at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:191)
         at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:113)
         at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:208)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:374)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
         at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:100)
         at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:74)
         at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:187)
         at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:207)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
         at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:328)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:651)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)
         at com.sun.enterprise.admin.wsmgmt.transform.FilterChain.process(FilterChain.java:224)
         ... 54 more
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1235)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TrAXFilter.parse(TrAXFilter.java:105)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:588)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:642)
         ... 56 more Could this be a bug in Glassfish or am I overlooking something or doing things completely wrong?
    Cheers.

    How are you passing the input to XSLT?
    If your input request is following:
    <cus:InputParameters xmlns:cus="http://www.tcs.com/Customer">
    <cus:customerID>2</cus:customerID>
    </cus:InputParameters>Then you should pass $body/cus:InputParameters as the Input document for bind input in Proxy Service.

  • Proxy to Web Service Communication doesn't work

    Hi,
    We configured the XI demo example “Checking Flight Seat Availability (Proxy to Web Service Communication)“ (chapter 6.2) and everything works fine until we try to execute the szenario (chapter 6.2.3).
    When we try to execute the szenario, we get an error displayed in the runtime Workbench. In the component Integration Server, we get a systemfailure with code “ADAPTER.SOAP_EXCEPTION” of category “PARSING”. The Adapter Engine also displays an error in the audit log:
    “SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Authority check failed”
    The User XIAFUSER has SAP-All-authorizations.
    Has anybody an idea, what’s the problem is?
    Greetings
    Hildegard
    Message was edited by: Hildegard Winter

    Check out, that the URL of the WebService is correct:
    "http://<YourServer>:<<b>ABAP_Port</b>>/sap/bc/srt/xip/sap/SXIDAL_FLIGHTSEATAVAIL_CHECK?sap-client=<<b>YourClient</b>>"
    Change the default values if necessary.
    Check in the client, if the role SAP_XI_APPL_SERV_USER (which should be applied to your user) is generated and has no errors.
    Regards
    Stefan

  • REST Web Service Output Parameter not working in POST Handler

    I've created a RESTful Web Service in Oracle Apex, using a POST method as "handler".   I've setup 11 input parameters which all work fine, it is my one output parameter that does not return successfully.
    Here is detail on the Output Paramter
    Name:  returns
    Bind Variable Name:  :returns
    Access Method:  OUT
    Source Type: Response
    Parameter Type:  String
    The actual source is a call to a pl/sql package that returns a value that I set :returns equal to (eg :returns := v_result).   I've tried this with Source Type Header and still the same result, 'no output'.
    I see APEX is calling wwv_flow_api.create_restful_param to generate the parameters (for importing), is there any documentation on this procedure?
    How can I get this output parameter to return something in the response?
    The request accepts a Json payload.
    Any help greatly appreciated
    Thanks,
    James

    Solved my own problem :returns does not work needs to be returns
    Does Not Work
    Name:  returns
    Bind Variable Name:  :returns
    Access Method:  OUT
    Source Type: Response
    Parameter Type:  String
    Does Work
    Name:  returns
    Bind Variable Name:  returns
    Access Method:  OUT
    Source Type: Response
    Parameter Type:  String

  • Problems with building web services - tutorial doesn't work

    I've been going through this tutorial from technet.oracle.com -
    trying to deploy the example stateless session bean service.
    First problem comes when running the deploy command -
    java -jar <j2ee_home>/admin.jar ormi://<host> <uid> <pwd> -deploy -file ejbws.ear -deploymentName ejbws.
    This command fails insisting that it can't find application.xml (even though it is clearly in the .ear file).
    Got around this by manually editing the server.xml file and bouncing OC4J. Then did the bind command. The first steps of compiling and running the client application then worked fine - I could see the .wsdl file and download the proxy jar.
    But when I came to actually run the client I got the error:
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.j2ee.xanadu.JasperGenerationError: no source generated during code generation!: error: I/O error in UrlBridge to: file:E:\ORACLE\j2ee\home\application-deployments\ejbws\ejbws\temp\__session_bean_rpc\Hello.class.<br>binary class definition not found: Hello
    By manually copying the Hello.class file into the __session_bean_rpc directory I was able to get the example to run.
    But how do I get it do deploy correctly in the first place????
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    I ran into the EXACT same problem described by Tracy, and I assembled my .ear file manually.
    According the error message, it would appear that the server is looking for the EJB remote interface in the ../temp/__session_bean_rpc directory when it is trying to generate its session bean wrapper class. As Tracy notes, when the file Hello.class is copied into the directory, the problem goes away. Furthermore, once the wrapper class has been generated, Hello.class is no longer needed and can be deleted from the directory.
    Better still, I found a way to deploy the web services web module and make the error go away. I created the ejbws.war file with a copy of the remote interface Hello.class in the WEB-INF/classes directory. This makes the class available when the wrapper class is generated.
    The WebServicesAssembler tool doesn't copy the EJB remote interfaces into the .war web module, which would appear to be
    necessary.
    Hope this helps.

  • Web Services DevPak: passwort not working?

    I installed the Java Web Services Developer Pack and set a user/password during the installation. however, if i call
    http://localhost:8080/manager/list
    it requests name/passwort and it does not accept the username/passwort i set during the installation! i installed it three times with three different username/passwords and none is accepted. does it work at all?
    :-(

    I looked in tomcat-users.xml and there was the correct name/password. however, there was no HOME/build.properties so i created one as described in the tutorial setup. unfortunateley, it still doesn't let me in :-(
    i wonder if it's bad to have environment variables (ANT_HOME, TOMCAT_HOME, ...) for the JWSDP. Anyway, i removed them but it didn't help. I also have the WSDP/bin as the first entry in my PATH setting. (WindowsNT4.0SP6)

  • Web service ChangeProduction does not work

    Dears,
    I tried to use web service ChangeProduction to change a SFC to another Operation in the same route, the other conditions(shop order, BOM, material) are the same.  The request formate in soapUI is as below. 
    But the result is that I can see a production change action history with CHGRTR activity code, but Operation was not changed, the SFC still in the original operation.
    What did I missed?
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">
       <soapenv:Header/>
       <soapenv:Body>
          <me:ChangeProductionRequest_sync>
             <!Optional:>
             <me:MessageHeader>
                <!Optional:>
                <gdt:ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ID>
                <!Optional:>
                <gdt:UUID>?</gdt:UUID>
                <!Optional:>
                <gdt:ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ReferenceID>
                <!Optional:>
                <gdt:ReferenceUUID>?</gdt:ReferenceUUID>
             </me:MessageHeader>
             <me:ChangeProductionRequest>
                <me:SiteRef>
                   <me:Site>HP</me:Site>
                </me:SiteRef>
                <!1 or more repetitions:>
                <me:SfcRequest>
                   <me:SfcRef>
                      <!You may enter the following 2 items in any order>
                      <me:Sfc>HP41</me:Sfc>
                      <!Optional:>
                      <me:SiteRef>
                         <me:Site>HP</me:Site>
                      </me:SiteRef>
                   </me:SfcRef>
                </me:SfcRequest>
                <me:NewRouter>
                   <!You may enter the following 4 items in any order>
                   <!Optional:>
                   <me:SiteRef>
                      <me:Site>HP</me:Site>
                   </me:SiteRef>
                   <me:Router>ROUTE1</me:Router>
                   <!Optional:>
                   <me:Revision>A</me:Revision>
                   <!Optional:>
                   <me:RouterType>U</me:RouterType>
                </me:NewRouter>
                <me:PlacementOperation>
                   <!You may enter the following 3 items in any order>
                   <!Optional:>
                   <me:SiteRef>
                      <me:Site>HP</me:Site>
                   </me:SiteRef>
                   <me:Operation>OP4</me:Operation>
                   <me:Revision>A</me:Revision>
                </me:PlacementOperation>
                <me:StepId>40</me:StepId>
                <me:UserRef>
                   <!You may enter the following 2 items in any order>
                   <!Optional:>
                   <me:SiteRef>
                      <me:Site>HP</me:Site>
                   </me:SiteRef>
                   <me:UserId>IVAN</me:UserId>
                </me:UserRef>
             </me:ChangeProductionRequest>
          </me:ChangeProductionRequest_sync>
       </soapenv:Body>
    </soapenv:Envelope>

    Hi Mike,
    Thanks for your information.
    My purpose is just to change the to another operation in the same route.  I've tried to use shop floor xml interface to do the same thing, it works.  The format is as below.  The SAPME Change Production function UI also can work.  Why web service can not work?  Is it a bug?
    <PRODUCTION_REQUEST>
    <CHANGE_PRODUCTION>
    <SITE>HP</SITE>
    <USER>IVAN</USER>
    <SFC_LIST>
    <SFC>
    <SITE>HP</SITE>
    <ID>HP32</ID>
    </SFC>
    <SFC>
    <SITE>HP</SITE>
    <ID>HP33</ID>
    </SFC>
    </SFC_LIST>
    <ITEM_BO>
    <SITE>HP</SITE>
    <ITEM>MA1</ITEM>
    <REVISION>A</REVISION>
    </ITEM_BO>
    <ROUTER_BO>
    <SITE>HP</SITE>
    <ROUTER>ROUTE1</ROUTER>
    <REVISION>A</REVISION>
    <ROUTER_TYPE>U</ROUTER_TYPE>
    </ROUTER_BO>
    <BOM_BO>
    <SITE>HP</SITE>
    <BOM>BOM1</BOM>
    <REVISION>A</REVISION>
    </BOM_BO>
    <NEW_ITEM>MA1</NEW_ITEM>
    <NEW_ROUTER>ROUTE1</NEW_ROUTER>
    <NEW_BOM>BOM1</NEW_BOM>
    <PLACEMENT_OPERATION>OP2</PLACEMENT_OPERATION>
    </CHANGE_PRODUCTION>
    </PRODUCTION_REQUEST>
    Edited by: Ivan_liu_tw on Jan 5, 2011 2:20 AM

  • Web Services button does not work

    My friend purchased this D110 printer and he presses Web services button nothing happens. It is currently connected to Dlink router and we can access the printer from the laptop, however, when selecting product updates it says it is updated.
    Also it does not display the email Id and even after selecting reset in the menu.....help
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

    David: 
    Can you please:
    1. Confirm that the Wireless button on the front of the printer has a solid blue light?
    2. Press and release the Wireless button and confirm that an IP address is displayed in the top-right of the display.  It should start with 192.168...
    3. After confirming 1 and 2 above, return to printer home screen, and press the Wireless button and select Web Services Settings from the menu.
    4. Take the appropriate option below:
         A. If the "Remove Web Services" option is displayed, select it.   Then continue with step B below to re-enable web services
         B. If the "Enable Web Services option is displayed, select it. 
    5. Complete the Web Services enablement process, which should result in a print out of the Web Services info sheet with a new email address for the printer. 
    6. Go to www.hpeprintcenter.com and create an account and add your printer to your account using the printer code on the Web Services info sheet you printed out.  This will allow us to track the results of your emails if they don't print. 
    7. After adding the printer to your account, send an email to your printer, ensuring you enter the email address correctly
    8. If the email prints on the printer, you're good.  
    9. If the email doesn't print, look at your Job History on www.hpeprintcenter.com and let us know if you see an error message in the job list, and what it says. 
    Thanks! 
    Press and release the Wirel
    I am an HP employee.

  • Web Services Demo (OTNMobileWrapper) not works

    I tested in my own database environment and also at my account on htmldb.oracle.com.
    - Wheather service works fine
    - Amazon works fine
    - OTNMobileWrapper did not
    I believe the URL and the Action are wrong!
    (the Urls in Wheather and Amazon I can call in the browser directly, the Url from OTNMobileWrapper was not found).

    yeah, i see what you mean regarding that "OTN Message Service" option in our web services demo. further inspection by a teammate reveals that more than a few of these OTN Live Web Services appear to not be working. i'm currently checking around to see what the deal is with that, but from an html db perspective, though, you should already know what you need to know: it is possible to call web services from within your html db applications. this particular one in our example appears to currently be unavailable (if you do feel it's our "URL and action", btw, please do send that info to [email protected]), but calls to the more stable ones like amazon, for instance, always work.
    hope this helps,
    raj

  • Designer Demo Viewlets Don't Work

    Hi guys
    Has anyone checked the designer demo viewlet links on the Oracle site? They don't work, I tried viewing other viewlets from other sites, no problems. Anyone know what the story is? Is there an FTP site I can download the viewlets from?
    Many thanks
    Ciaran

    Hi Sue
    I am using the latest version of IE. I've got the latest SW/Flash etc and I can play viewlets from other sites. Nothing happens when I click on the links, when I tried opening the viewlet in a new window, I got a JScript runtime error, the error stating Object expected
    I was hoping to view all of them as a quick refresher for me. Is there an ftp site I can download them from?
    Thanks
    Ciaran

Maybe you are looking for

  • 2.0GHZ Single or 1.8GHz Duet???

    Hey Guys! I just wanted to ask if it's better to buy the 1.8GHz Sonnet Duet CPU Upgrade, which is a 7447A, or the NewerTech 2.0GHz single which is a 7448 based one...? +1.8 Dual -> http://eshop.macsales.com/item/Sonnet%20Technology/SG4D1800L/+ +2.0 S

  • Java 1.4.2. - full heap dump?

    Hello, Is there any possibility to generate full heap dump (core dump) in java 1.4.2. on demand? Best regards, Peter

  • IPhone send me back a message I just sent

    Hi all, my iPhone, when I text to sertain people, it send me back messages I just sent to them. Frequently happened, time delay is variant, could be several seconds or several minutes. I already searched the community when I tried to fix this problem

  • Vendor accumulated balnacess

    Dear experts; We are preparing vendor balancess businessa area  wise for this we are using 0FI_ap_3 data source and 0fiap_o03 ods iam geting debt credit blancess period wise but here we need accumulated balancess for this which field i have  to take

  • NTSystem for Administrators only (on NT4)

    One more time this problem appears in the forum. Perhaps someone will answer this time. Simple application : public class TestNTUser { public static void main(String[] args) { System.out.println((new com.sun.security.auth.module.NTSystem()).getName()