Publishing pl/sql as web services using axis
Hello,
I am a newbie to web services.
I want to publish pl/sql packages as web services using axis and tomcat. Can you please tell me where to start - I will appreciate any information, links to tutorials and docs. Can you please tell me what I need to deploy and run the services.
Thank you very much in advance!
Eka
Hello,
The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
and you can use advanced features of JDBC and JPublisher if needed:
Simplifying Database Access
Regards
Tugdual Grall
Similar Messages
-
Creating a java Web Service Using Axis
I need to write a Java web Service using Axis which send a file as an DIme attachement and It should to be invoked by .NET Client .
I need to know how to attach a file to Soap response and how to read a file from the response at Client.
I am new to web Services ,,please help me......Hi
You can use a java web service to publish a Web service from a Java class.
A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
Hope that helps!
Cheers
A -
Publish PL/SQL as Web Service
I am new to Oracle Web Service. I went through Publish PL/SQL as Web Service tutorial and tested from browser. When I tested by
http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService
I got following message:
"Error parsing the WSDL for this endpoint.
oracle.wsdl.internal.WSDLException: oracle.xml.parser.v2.XMLParseException: Start of root element expected."
I was able to display WSDL somehow by
http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService?WSDL
I have no clue what is the problem. Please help.
Thanks.
Yi Zhou
[email protected]Hi,
The problem could be because of wrong JDK version. Looks like you are using JDK1.4.2. Could you try checking with JDK 1.3.x
If you still face problems, specify your environment details and at what stage you are getting the error.
Sujatha. -
Web services using axis /eclipse/tomcat
Hi all
I am trying to develop web services using apache axis in Eclpise.
I got an error Unexpected element "wsdl:definitions" definitions
and even I cant get a target to specify while building.
Can some one help me out?hi,
ask scott from http://onlinecares.com about Java classes, he would be able to help you out.
Edited by: jimwar on Nov 20, 2007 4:00 AM -
How to get the cookie from a web service using Axis
I used the AXIS wizard to consume a WSDL and create a bunch of boiler plate code. It works great in that I can talk to the web service and submit requests.
The problem is that I need to retrieve the cookie from the login request and use it when making subsequent requests. I have been unable to find the cookie and would appreciate a point in the right direction.
Currently I'm trying something like this
String cookie = (String)((Stub)service)._getCall().getMessageContext().getProperty(HTTPConstants.HEADER_COOKIE);
Thanks in advance.Answered on my own:
Just have to use
x_result = http_client->response->get_data( ).
instead of
x_result = http_client->response->to_xstring( ).
Just don't knwo why the filesize is wrong also - but I can work with this image! -
2 way SSL in web services [using Axis]
Hi,
Can anyone tell me how to implement 2 way SSL handshake before making a web service call , using Axis.
This is what i have to start off with:
1. wsdl, which i use to create the client side files [using eclipse] do meet the business needs.
2. I also have my [client] key and cert and the servers root cert, required for SSL handshake
Thanks for the help,
SandyHi,
Do you have created a Service Key provider and attached the same to proxy service.
Oracle Service Bus verifies that you have associated a service key provider with the proxy service and that the service key provider contains a key-pair binding that can be used as a digital signature.
Service Key Providers
Regards,
Abhinav -
Publish PL/SQL with Web Service with errors ...
Good day, I installed on my pc the example of the following link:
http://www.oracle.com/technology/tech/webservices/htdocs/series/plsql/index.html
Unfortunately, when try to perform it on the window where running Oracle9iAS comes restored the following mistake :
Node started with id=-1716454166
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
java.lang.NullPointerException
at oracle.jdbc.driver.LRUStatementCache.searchExplicitCache(LRUStatement
Cache.java:654)
at oracle.jdbc.driver.OracleConnection.getStatementWithKey(OracleConnect
ion.java:4347)
at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(Ex
ecutionContext.java:1397)
at rocco.Company.addemp(Company.sqlj:42)
at rocco.__CompanySPWrapper.invokeMethod(__CompanySPWrapper.java:73)
at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:108)
at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:560)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:797)
at java.lang.Thread.run(Unknown Source)
and on the JDeveloper window show the mistake:
C:\jdev\jdk\bin\javaw.exe -ojvm -classpath C:\jdev project\PLSQL\Project1\classes;C:\jdev\jdev\lib\jdev-rt.jar;C:\jdev\sqlj\lib\runtime12.jar;C:\jdev\jdbc\lib\classes12.jar;C:\jdev\jdbc\lib\nls_charset12.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\lib\activation.jar;C:\jdev\j2ee\home\lib\mail.jar;C:\jdev\j2ee\home\lib\http_client.jar mypackage1.RoccoCompanyWebServiceStub
[SOAPException: faultCode=SOAP-ENV:Server; msg=[SOAPException: faultCode=SOAP-ENV:Server; msg=]]
void mypackage1.RoccoCompanyWebServiceStub.addemp(rocco.Employee)
RoccoCompanyWebServiceStub.java:164
void mypackage1.RoccoCompanyWebServiceStub.main(java.lang.String[])
RoccoCompanyWebServiceStub.java:59
Process exited with exit code 0.
It seems been depicted all correctly, but although this do not succeed to complete the tutorial with the test puts into practice.
Someone it is able to be me of help.
Thanks one thousand.
:-(Hi,
there is a tutorial:
http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
"Developing a Web Service from a PL/SQL Package"
I think you need Oracle AS, because you need an instance which "talks" http.... -
Publishing pl/sql as web service without AS or OC4J
Hi,
I've read about new Native Web Services in Oracle 11g and I like the idea.
But how to do similar approach in 10g or even 9.2 database?
I would like to have database only web service without AS, but I cannot use 11g right now.
I didn't find any discussion about the new native WS within 11g database. It's great, isn't?
LiborHello,
The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
and you can use advanced features of JDBC and JPublisher if needed:
Simplifying Database Access
Regards
Tugdual Grall -
Reading complex types of a Web Service using Axis.
Hi,
I am trying to read a WSDL using AXis APIs. Lets say I use this WSDL.
http://www.dataaccess.com/webservicesserver/conversions.wso?WSDL
This contains 3 complex types and 7 simple types.
SymbolTable symbolTable = wsdlParser.getSymbolTable();
BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName());
Collection c = bEntry.getParameters().values();
Now when I read through the collection I get only 7 simple types contained in the complex types. Can I read the complex types only when they are registered. I expect this to be available because the parser is expected to read the WSDL. I get only these types.
Urgent !! So please help !!
(java.util.HashMap$Values) [
returnParam = (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, NumberToWordsResult, OUT)
faults = {}
signature = null
(inputs, inouts, outputs) = (1, 0, 1)
list = [(QName: unsignedLong
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, ubiNum, IN)],
returnParam = (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, TitleCaseWordsResult, OUT)
faults = {}
signature = null
(inputs, inouts, outputs) = (2, 0, 1)
list = [(QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, sText, IN), (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, sToken, IN)],
returnParam = (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, NumberToDollarsResult, OUT)
faults = {}
signature = null
(inputs, inouts, outputs) = (1, 0, 1)
list = [(QName: decimal
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, dNum, IN)]]Hi Shiva
just check the following link
http://wiki.apache.org/ws/FrontPage/Axis/StaticDeployment
thanks & regards
Shishir Shah -
Not able to access web service with axis and tomcat
Dear all
i am trying to access web service using axis in tomcat.
i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
i had tested axis, its working fine.
i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
plz point me in right direction.
thanks in advance
The error is:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/ArithmeticProcessor.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.14 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
1><HR size="1" noshade="noshade"><p><b>
type</b> Status report</p><p><b>message</b> <u&
gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
ot available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat/6.0.14</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/ArithmeticProcessor.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ArithmeticClient.main(ArithmeticClient.java:50)Hi ,
Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
www.scribd.com/doc/19255987/Web-Services-in-Abap -
Call MTOM web service using pl/sql (utl_http)
Hi All,
Is anyone able to call a MTOM web service using utl_http from pl/sql ?
A typical request looks like this:
--uuid:fd1fbed8-7042-4673-a304-becc1ffb037f+id=1
Content-ID: <http://tempuri.org/0>
Content-Transfer-Encoding: 8bit
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body>......</s:Body></s:Envelope>
uuid:fd1fbed8-7042-4673-a304-becc1ffb037f+id=1
A microsoft C# tool is provided to generate some requests and using fiddler I can see the content type is in the header as well as in the request. In the requests it doesn't contain the UID. Connection is set to keep-alive, is that possible using pl/sql ?
The part that builds the header looks like:
l_http_request := UTL_HTTP.begin_request(url => 'http://' || l_host_name || ':' || l_port || '/CRUDService.svc', method => 'POST', http_version => 'HTTP/1.1');
UTL_HTTP.set_header(l_http_request, 'Host', l_host_name || ':' || l_port);
UTL_HTTP.set_header(l_http_request, 'SOAPAction', '"action"');
UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_string_request));
UTL_HTTP.set_header(l_http_request, 'Content-ID', '<http://tempuri.org/0>');
UTL_HTTP.set_header(l_http_request, 'Content-Transfer-Encoding', '8bit');
UTL_HTTP.set_header(l_http_request, 'Content-Type', 'multipart/related; type="application/xop+xml";start="<http://tempuri.org/0>";boundary="uuid:fd1fbed8-7042-4673-a304-becc1ffb037f+id=1";start-info="text/xml"');
I've played with the request by adding or removing information, the http response is (400) "Bad Request - Invalid Header", so should be somewhere in the header? Anyone ideas?
Kind regards,
MichielHI Michiel
I am also trying to achieve something similar to that. I am trying to call a web service that sends an xml attachment over MTOM? Kindly, let me know if this was achievable from your end? I mean how did the issue got resolved.
thanks
vijay -
How to access PL/SQL Web Services using java
New to Webservices. Created PL/SQL Web Service using JDeveloper. Vendor is not sure how to access it using java. Can anyone please help to point in the right direction or provide some sample ?
So if I'm correct you have already exposed a PL/SQL procedure or function as web service?
In that case you can generate a proxy (client) for the generated web service using JDeveloper. It will generate Java code which invokes the web service.
See the wizard in JDeveloper, it should be in the same category as the create PL/SQL web service wizard.
Regards, Ronald -
Fault while calling a Web service using SOAP 1.2
Hi ,
I have created a simple PL/SQL web service using Jdeveloper from PL/SQL using SOAP 1.2.
But while i call that from PL/SQL, i am getting a version mismatch.
While the same service created from SOAP 1.1 is working fine.
Can anyone Help???Yip - Acrobat or Reader Extensions are needed.
Try right click on the PDF and open in Internet Explorer and try your submit (hopefully the domain is trusted) -
Invoking web service using Weblogic Workshop (JCX)
Invoking web service using Weblogic Workshop
Posted: 5 Jan 2005 23:31 PM Reply
Hi,
I have WSDL from which I have generated a web service control (.jcx) using Weblogic Workshop.
I need to write a client which will invoke the web service using the control.
Can someone help me on how to go about this ?
BTW .. I also tried the clientgen route and tried to generated the proxy jar from the WSDL but wasn't successful because of a existing clientgen bug.
Refer bugHi,
if the consumer of the webservice is a control-aware consumer ( pageflow, control, process ) simply drag the control to this consumer and the control variable is ready for use.
if the consumer is not control-aware, try to generate a proxy using eg. the axis tool, or handcode your proxy class.
links :
how to use webservice control
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/conGettingStartedWithJavaControls.html
axis
http://ws.apache.org/axis/
- Anders M.
- Anders M. -
Error - In deploying the web services into axis
Hello,
I am working on deploying a webservices into axis. I have an deploy.wsdd file and I have an ant script (build.xml) for deploying that web service into axis (axis is in tomcat). After deploying I can see the services
[http://localhost:8080/axis/servlet/AxisServlet] at this link. But when I run my web project which uses the deployed service, I am getting an InstatiationException as shown below.
{color:#ff0000}SEVERE: Remote Connect Failure:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.InstantiationException: myexample.HelloWS
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Personal
java.lang.InstantiationException: myexample.HelloWS
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at mypackage.HelloImpl.getSiteMenu(RDMInterfaceWSSoapBindingStub.java:1589)
at mypackage.HelloImpl.getSiteMenu(RDMWebserviceImpl.java:443)
at mypackage.HelloImplServiceClient.getSiteMenu(RDMInterfaceWSServiceClient.java:123)
at mypackage.ApplicationBean.init(ApplicationBean.java:98)
at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:132)
at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:777)
at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:335)
at com.sun.faces.context.ApplicationMap.put(ExternalContextImpl.java:496)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:287)
at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
at com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at com.sun.rave.web.ui.component.SelectorBase.getItems(SelectorBase.java:114)
at com.sun.rave.web.ui.component.ListSelector.getOptions(ListSelector.java:168)
at com.sun.rave.web.ui.component.ListSelector.getListItems(ListSelector.java:113)
at com.sun.rave.web.ui.renderer.ListRendererBase.renderList(ListRendererBase.java:363)
at com.sun.rave.web.ui.renderer.ListRendererBase.renderListComponent(ListRendererBase.java:164)
at com.sun.rave.web.ui.renderer.DropDownRenderer.encodeEnd(DropDownRenderer.java:73)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:435)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
at org.apache.jsp.Home_jsp._jspx_meth_h_005fpanelGrid_005f0(Home_jsp.java:541)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fform_005f0(Home_jsp.java:368)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fbody_005f0(Home_jsp.java:329)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fhtml_005f0(Home_jsp.java:250)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fpage_005f0(Home_jsp.java:223)
at org.apache.jsp.Home_jsp._jspx_meth_f_005fview_005f0(Home_jsp.java:170)
at org.apache.jsp.Home_jsp._jspService(Home_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source){color}
Please help me how to resolve this problem.
Thx
ChaitanyaHello,
I am working on deploying a webservices into axis. I have an deploy.wsdd file and I have an ant script (build.xml) for deploying that web service into axis (axis is in tomcat). After deploying I can see the services
[http://localhost:8080/axis/servlet/AxisServlet] at this link. But when I run my web project which uses the deployed service, I am getting an InstatiationException as shown below.
{color:#ff0000}SEVERE: Remote Connect Failure:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.InstantiationException: myexample.HelloWS
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Personal
java.lang.InstantiationException: myexample.HelloWS
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at mypackage.HelloImpl.getSiteMenu(RDMInterfaceWSSoapBindingStub.java:1589)
at mypackage.HelloImpl.getSiteMenu(RDMWebserviceImpl.java:443)
at mypackage.HelloImplServiceClient.getSiteMenu(RDMInterfaceWSServiceClient.java:123)
at mypackage.ApplicationBean.init(ApplicationBean.java:98)
at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:132)
at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:777)
at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:335)
at com.sun.faces.context.ApplicationMap.put(ExternalContextImpl.java:496)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:287)
at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
at com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at com.sun.rave.web.ui.component.SelectorBase.getItems(SelectorBase.java:114)
at com.sun.rave.web.ui.component.ListSelector.getOptions(ListSelector.java:168)
at com.sun.rave.web.ui.component.ListSelector.getListItems(ListSelector.java:113)
at com.sun.rave.web.ui.renderer.ListRendererBase.renderList(ListRendererBase.java:363)
at com.sun.rave.web.ui.renderer.ListRendererBase.renderListComponent(ListRendererBase.java:164)
at com.sun.rave.web.ui.renderer.DropDownRenderer.encodeEnd(DropDownRenderer.java:73)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:435)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
at org.apache.jsp.Home_jsp._jspx_meth_h_005fpanelGrid_005f0(Home_jsp.java:541)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fform_005f0(Home_jsp.java:368)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fbody_005f0(Home_jsp.java:329)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fhtml_005f0(Home_jsp.java:250)
at org.apache.jsp.Home_jsp._jspx_meth_ui_005fpage_005f0(Home_jsp.java:223)
at org.apache.jsp.Home_jsp._jspx_meth_f_005fview_005f0(Home_jsp.java:170)
at org.apache.jsp.Home_jsp._jspService(Home_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source){color}
Please help me how to resolve this problem.
Thx
Chaitanya
Maybe you are looking for
-
How can I get my purchased music to play again?
I recently updated my iPod 4g to the newest version of software. everything has showed up EXCEPT my purchased music. It is shown in my music and in iTunes, but it won't play. Instead, it will skip to the next playable song. Any solutions?
-
Inspecyion lot for delivery item
Hi Experts, Please help. I have created sales order. Then created Production order with reference to that sales order. Processed poduction order. Stock posted to QM stock. Done Result recording & UD. Stock posted to Unres.use stock. Now I want to qua
-
The image [image] cannot be displayed because it contains errors.
I'm using Firefox ESR 24.5.0 on Red Hat Enterprise Linux 6.3 with GNOME 2.28.2. It gives me that error when I try to view this image http://graphbench.org/images/hairball-header-cropped.jpg It's only 1170x311 and 81.1kB so size shouldn't be a problem
-
I have a problem with the payment?
I have a problem with the payment, I bought before with the same account. but this time they say that I should contact itunes support to complete the transaction. can someone help me, who have had the same problem
-
Greetings to everyone! I would like to disable printing, saving of pdf files on the intranet. Files are displayed in the browser. In the old version of Mozilla Firefox this solution worked: "<object data="path/Filename.pdf#toolbar=0&navpanes=0" type=