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

Similar Messages

  • 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

  • URGENT: Rest web service with get method works fine in browser but not with java client(Android)

    Hi ,
    I have created one REST web service which accepts two parameters send back JSON results.
    I tested the it in browser with URL as http://+Inteernal server+/ords/utimes/login_info?p1=+first_param+&p2=+second_para+
    Web service URL :  http://+Inteernal server+/ords/utimes/login_info?p1={p1}&p2={p2}
    But when java team wants to access it from java code it gives error as "400- Bad Request".
    one more IMP thing : when I test it in RESTful web service by using "set bind variable" , it only set value of first parameter.
    APEX version : 4.2
    Database : 11g (XE)
    ords : 2.0.8
    please help me ASAP.
    regards,
    Nagesh Patil

    Hi Pragya,
    thank you for the update.
    Another question: could you please give us any reference about these corrections you told about? Maybe they could be relevant in our case too.
    Our raised incident number is: 3100851983
    Kind regards,
    Davide

  • 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

  • Web Service Security is not working when migrating application from Tomcat

    Hi,
    We have a application running successfully in tomcat6 It calls a Webservice call through TIBCO BW interface.
    When we deployed the same WAR file in Weblogic 10.3.2, it gives me a error on Prefix[ds] not able to locate namespace URI not found error.
    IN Tomcat, its a existing application uses AxilUtility to get the soap messages after signing document for bothe encyption and decryption.
    Please anybody help me out, is there any other jars needs to be locate in Weblogic to run this application. Its fine with Tomcat and gives error in Weblogic10.3.2
    Please help me out
    Thanks in advance

    Hi Rajkumar,
    Thanks for you reply. Please let me now if you have any ideas..thnks a lot....
    Below is the error message what i am getting through weblogic console.
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.io.IOException: error:weblogic.xml.stream.XMLStreamException: Pr
    efix [ds] used without binding it to a namespace URI
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:744)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:713)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:722)
    at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:44)
    at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:24)
    at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImp
    l.java:154)
    at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.j
    ava:200)
    ... 78 more
    java.lang.NullPointerException
    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
    at com.db.alat.wss.WSSClient.postSoapMessage(WSSClient.java:358)
    at com.db.alat.wss.WSSClient.WSSEncDec(WSSClient.java:102)
    at com.db.alat.service.CollateralAccounts.getAccountsSummary(CollateralA
    ccounts.java:55)
    at com.db.alat.CH.CHMapper.getGroup(CHMapper.java:281)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.getClientDataCH(Borrower
    DetailsBean.java:1034)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.<init>(BorrowerDetailsBe
    an.java:766)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186
    at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106)
    at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368)
    at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:222)
    at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver
    .java:86)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe
    solver.java:72)
    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    And i have the loggers which gives the system out statements. You can identify the difference in both logs is the sys out ...Convert Signed Document back to Soap Message.
    IN tomcat i am getting the return object after calling the method
    SOAPMessage signedMsg = (SOAPMessage) AxisUtil.toSOAPMessage(signedDoc);
    But in Weblogic i am getting NULL. You can c in SOAPMessageImpl[SOAPPartImpl[null]]
    Tomocat Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@c393a1
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">7cf8e78f86212a65398d50766de95a762318d3eee1350c1105d4b751825a690b</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) DOCUMENT is .......:[#document: null]
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) KEYSTORE is .......:java.security.KeyStore@127fa03
    2011-04-21 05:35:57,078 8844 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................3.........................
    2011-04-21 05:35:57,094 8860 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................4.........................
    2011-04-21 05:35:57,297 9063 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Signed Document is .......:[#document: null]
    2011-04-21 05:35:57,437 9203 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Convert Signed Document back to Soap Message .......:[email protected]33662
    2011-04-21 05:35:57,469 9235 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................5.........................
    Weblogic Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@460d4
    2011-04-26 01:15:45,859 2640 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">2b285aa27f1899d87de00f04099506ad24aaf1c18b0b6b071a8acd19b1732fb9</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) DOCUMENT is .......:[#document: null]
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) KEYSTORE is .......:java.security.KeyStore@167d3c4
    2011-04-26 01:15:45,984 2765 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................3.........................
    2011-04-26 01:15:46,016 2797 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................4.........................
    2011-04-26 01:15:46,234 3015 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Signed Document is .......:[#document: null]
    2011-04-26 01:15:46,313 3094 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Convert Signed Document back to Soap Message .......:SOAPMessageImpl[SOAPPartImpl[null]]
    2011-04-26 01:15:46,328 3109 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................5.........................

  • 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.

  • 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

  • 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 service scenario does not work

    Hello,
    I am prototyping (abap) ws --> PI  --> (abap) ws scenario in PI 7.1 with sender and receiver CC of ws adapter.
    In the sender system, I coded a abap program to call the proxy to send our ws message, message looks like being sent, in sxmb_moni in the sender system I can see the message, however the status is "Released for processing (WS)", and the sender service of the logged message is empty. In PI, no message is logged in sxmb_moni. Looks like message was sent out from the ws runtime engine of hte sender system, but it didn't reach PI. Does anyone have idea what this is?
    Thanks
    Jayson

    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

  • OSD: SCCM 2012 collection which should exclude Windows 7 clients (query not working fine)

    Hi,
    We have an SCCM 2012 collection to which we deploy Windows 7.
    Vista clients get a SCCM 2012 client in SCCM 2007 and once they have it, they get a Windows 7 deployment.
    The group is populated by an AD query and that works fine. However, when we try to exclude Windows 7 machines (query = not Windows NT ... 6.1) the query does not return any result.
    Please advise.
    J.
    Jan Hoedt

    Please check your query. It should be like the following.
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Version != "6.1.7601"
    Juke Chou
    TechNet Community Support

  • SOAPElement in web service request does not work

    I have following code call web service:
    ServiceFactory sf = ServiceFactory.newInstance();
    Service service = sf.createService(new QName("http://echo.demo.oracle/", "tns"));
    String endpoint="http://localhost:8888/test/echo";
    Call call = service.createCall();
    call.setTargetEndpointAddress(endpoint);
    SOAPFactory soapfactory = SOAPFactory.newInstance();
    SOAPElement m1 = soapfactory.createElement("echoStringElement", "tns", "http://echo.demo.oracle/");
    SOAPElement m2 = soapfactory.createElement("sss", "tns", "http://echo.demo.oracle/");
    m2.addTextNode("Bob");
    m1.addChildElement(m2);
    System.out.println("Request is: ");
    ((XMLElement) m1).print(System.out);
    call.invoke( new Object[]{m1} );I got the SOAP request like:
    <?xml version="1.0" encoding="UTF-8"?>
    <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">
    <env:Body>
    <tns:echoStringElement xmlns:tns="http://echo.demo.oracle/"/>
    </env:Body>
    </env:Envelope>
    Why the element m2 "sss" missing from request?
    from ((XMLElement) m1).print(System.out);
    I can see both m1 and m2 and XML looks fine.
    Also, I noticed actually the SOAP request is not affect by the SOAPElement I created since even I modified some string in this line, I still get the same request.
    SOAPElement m1 = soapfactory.createElement("echoStringElement", "tns", "http://echo.demo.oracle/");

    Hello Ivan,
    I think you better submit a support ticket to investigate the issue.
    Regards,
    Konstantin

  • 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 Service Testing Does Not Work In IE

    I am using WLS 7.0SP4 with a webservice generated from an EJB. I have been
    testing it using the web service home page, and I have noticed this strange
    behavior: when I press the "Invoke" button in Internet Explorer 6, I am sent
    back to the web services home page; when I do the same in Mozilla Firebird,
    I get the page indicating what transpired as the web service was invoked.
    Simple print statements in the EJB indicate that with Internet Explorer the
    EJB is definitely not being called when I press the Invoke button.
    Furthermore, the same print statements are executed when using Mozilla
    Firebird and pressing the Invoke button.
    Any ideas?
    Jimmy
    James "Jimmy" Wilson
    [email protected]

    Yes this is an issue with IE. I think, there is a max
    size for HTTP GET in IE. If the get request is larger
    than the max size, it simply cuts off the extera data
    (without any error message). When this happens,
    server things that you are requesting home page, instead
    of invoking a method.
    You can either use a different browser, or try to reduce
    the size of data in the method invoke form.
    Regards,
    -manoj
    http://manojc.com
    "James Wilson" <[email protected]> wrote in message
    news:[email protected]..
    I am using WLS 7.0SP4 with a webservice generated from an EJB. I havebeen
    testing it using the web service home page, and I have noticed thisstrange
    behavior: when I press the "Invoke" button in Internet Explorer 6, I amsent
    back to the web services home page; when I do the same in MozillaFirebird,
    I get the page indicating what transpired as the web service was invoked.
    Simple print statements in the EJB indicate that with Internet Explorerthe
    EJB is definitely not being called when I press the Invoke button.
    Furthermore, the same print statements are executed when using Mozilla
    Firebird and pressing the Invoke button.
    Any ideas?
    Jimmy
    James "Jimmy" Wilson
    [email protected]

  • 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.

Maybe you are looking for

  • How do you unscyn an ipod touch from a library

    when the computer that it is synced with is not available... and the ipod has not been backed up...

  • File usage and conversion

    Hi all... I have a question that I'm hoping someone can help out with for someone who has only minimal computer type knowledge and here's the scenario: I've just downloaded some wonderful songs from iTunes and they play just fine on the computer, but

  • Copy and paste a image to the clipboard

    Hi, Is there anybody who knows how to copy and paste an image to the clipboard in jdk 1.3.0. I want make a image copy of my app like this (Panel): Image image = (Image)this.createImage(this.getWidth(), this.getHeight()); Graphics g = image.getGraphic

  • How much space left for the new System Restore Point(s) creation ??

    Sir, MY LAPTOP : single OS, windows 7 sp1 , ultimate 64 , 2gb ram , 4ghz processor,  kaspersky antivirus full,  total hard disk 150gb, C: 38.9gb,  11.2 gb free space on C: ,   allocation for SR Points for C: 2.73gb (7%) PROBLEM:(SR Point: System Rest

  • How to send mail through report??

    hi experts.... i want to create a report to send an email to department representative when pending PO is created. can some1 tell me how is it possible to send an email through report? thanks..