Has anyone deployed Web Services on J2EE RI 1.3.1 using Studio ?
I am getting the following run time exception -
java.lang.RuntimeException: Failed to fnd SOAP deployment descriptor by the resource name '/as/WebService/ClaimsManagerWebServiceSOAP.dd'. Unable to automatically deploy as a SOAP service.
at com.sun.forte4j.webdesigner.basecomponent.DeploySOAP.loadRegistry(DeploySOAP.java:47)
And Studio has deployed my service under $J2EE_HOMEpublic_html/ClaimsManagerContext as follows -
ClaimsManagerWebService.wsdl META-INF
ClaimsManagerWebServiceClient_Error.jsp original.war
ClaimsManagerWebServiceClient_SOAP.html soap.xml
getLightWeightClaims_SOAP.jsp WEB-INF
and under WEB-INF/classes/as/WebService i have my .dd -ClaimsManagerWebServiceSOAP.dd
Sorry : my version xmlpserver is 101342
Similar Messages
-
Can not open the WSDL in a Deployed web service
I finished a JAXRPC based web service, packaged a war file and then using WSDEPLOY to produce a new war file. The new war file was deployed to Sun APP Server and everything seemed to be fine. But when I tried to open the url, the page displayed many question marks (not encoding problem, I tried many encodings but no change). The following is a copy from the browser (originally in a table, becomes mess here)
Web ??
MetSoapEndpoint ???
??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint
WSDL? http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
?? QName? {http://www.agmodel.org/Schema/MyWS/2006/02/MyWSEndpoint}MyWSEndpointPort
????? net.agmodel.myws.mysoap.jaxrpc.MyWSEndpoint
???? net.agmodel.myws.mysoap.MyWSEndpoint_Impl
??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint???
And I tried to open the WSDL by clicking on the above WSDL address, but get the following error message:
XML Parsing Error: no element found
Location: http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
Line Number 1, Column 39:<?xml version="1.0" encoding="UTF-8"?>
I also tried to deploy the service to JBOSS 4.0.4, got exactly the same result.
Anyone can help me?
Thanks a lot.
xinwenNobody answered...
May bcoz it was on AXIS2.... no issues guys..here is the solution
Webservice technology is also based on Servlet based techology only
so in AXIS2 webservice class, implement org.apache.axis2.engine.ServiceLifeCycle interface. You'll get 2 methods here -
void startUp(ConfigurationContext arg0, AxisService arg1) and
void shutDown(ConfigurationContext arg0, AxisService arg1)
these are nothing but init() and destroy() of the servlet.
Inside these methods u can get servlet context parameters by getAttribute(string) and initial parameters of the servlet by getInitParameter(string)
Edited by: Neo2001 on Feb 18, 2008 2:31 PM -
ServletException When Deploying Web Service Application to WL 10.3.1
I'm attempting to deploy a web service application to WebLogic 10.3.1 built using the ANT jwsc task. The majority of the build is being done by Maven to produce and EAR file which contains the web service application WAR file, but I'm using ANT for the jwsc task due to classpath issues in Maven. Here is my task definition from by ANT build script:
<jwsc srcdir="src" destdir="${basedir}/target"
classpathref="weblogic.jar.classpath" verbose="on" debug="on"
keepgenerated="yes">
<module contextpath="testapp" name="TestWSApp" explode="true">
<jws type="JAXWS" file="test/src/TestWSImpl.java"/>
<descriptor file="${basedir}/src/main/webapp/WEB-INF/web.xml"/>
<descriptor file="${basedir}/src/main/webapp/WEB-INF/weblogic.xml"/>
</module>
</jwsc>
When the process completes, within the WAR file is the web.xml, which has been modified by the jwsc process to contain a servlet definition and mapping:
<servlet>
<servlet-name>TestWSAppServlethttp</servlet-name>
<servlet-class>test.src.TestWSImpl</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>TestWSAppServlethttp</servlet-name>
<url-pattern>/TestWSAppServlethttp</url-pattern>
</servlet-mapping>
The problem comes when I try to deploy to WebLogic. The deployment fails and I get errors. The stack track is really long, but here is the main problem:
weblogic.application.ModuleException: [HTTP:101216]Servlet: "DataIntegrityServiceServlethttp" failed to preload on startup in Web application: "/testapp".
javax.servlet.ServletException: Servlet class: 'test.src.TestWSImpl' does not implement javax.servlet.Servlet
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
This error actaully makes sense if I was trying to deploy a servlet and not a web service class. If I manually remove the <load-on-startup>0</load-on-startup> element from the web.xml, then this deploys fine. I've tried to define the servlet in the web.xml permenantly, but jwsc throws an error saying the context is already in use.
So what I need to do is either have jwsc skip the modification of the web.xml or just not have it create the <load-on-startup>0</load-on-startup> element. Any ideas?Nevermind, I figured it out.
I had to change the name of my JWS class (the one that implements the web service methods) and then it worked fine.
Thanks to all who responded. -
Deploying Web Service clients to earlier versions of AS
Hello,
I'm using JDeveloper to create web service proxy for existing service to use in my Web Service client. For development, I'm using JDeveloper 10.1.3.3, for deployment of client application I'm using Application Server 10.1.3.0.
The problem is that AS 10.1.3.0 contains other versions of the libraries, for example, wsclient.jar, so, there's an error using Web Service Proxy (stub) as method setSOAPVersion() doesn't exist.
The question is how can I use generated stub with earlier versions of Application Server.
I've tried some things, but they didn't work. Maybe I did something wrong and step-by-step guidelines to deploy application are needed - I hope, it could be useful not only for me.
So, I found JDev 10.1.3 Release Notes (http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html) and the following abstract:
Workaround for URL / WS Data Control Apps When Deploying to Third Party Application Servers or Oracle Application Server 10.1.2 (4931009)
1. Copy the following JAR files to your target application server along with the rest of the ADF installed JAR files. The following JAR files are available under your JDeveloper's home directory.
bc4j/jlib/dc-adapters.jar
bc4j/jlib/adf-connections.jar
j2ee/home/lib/http_client.jar
webservices/lib/wsdl.jar
webservices/lib/orajaxr.jar
webservices/lib/orawsrm.jar
webservices/lib/wsclient.jar
webservices/lib/orasaaj.jar
webservices/lib/xsdlib.jar
webservices/lib/mdds.jar
jlib/osdt_core.jar
jlib/osdt_cert.jar
jlib/osdt_xmlsec.jar
jlib/osdt_wss.jar
jlib/osdt_saml.jar
jlib/ojpse.jar
jlib/oraclepki.jar
webservices/lib/wssecurity.jar
webservices/lib/orawsdl.jar
j2ee/home/jazncore.jar
2. Shutdown the application server and modify the application server's class path to include all of the JAR files that were extracted from the archive. Please refer to the application server documentation for details on how to modify the class path.
3. Restart the application server. You are now ready to deploy / run the application successfully.
So, I've created a new Shared Library with Enterprise Manager, uploaded all this files and, deploying application, checked this library too. This didn't help.
Thanks in advance, ValeriyHi Valeriy,
I have exactly the same problem. Have you been able to resolve this yet?
Thanks
Stu -
Learning Web Services with J2EE
Hi:
I've been developing in J2EE for 3 years now, using Servlets/JSP/Tag Libraries etc.... I want to find a good source (book) that teaches you web services with J2EE, does anyone recommend any good starters to advance books for Web Services.
Thank you
GoceHave you looked at the J2EE 1.4 Tutorial?
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
It includes chapters on developing both Web applications and enteprise beans as Web service endpoints.
-Ian Evans -
How to deploy web service as part of console.war
Hello,
I need to expose the deploy functionality of bpel console as web service. I see that there is a JSP page which pretty much does the same thing in console.war. So I know what my Java class is going to look like the problem is I am very new to OC4J so I don't know how to deploy it as web service on this container. Any help is greatly appreciated.
I tried going through the tutorial on deploying web services on OC4J but the sample stateless class does not compile because it cannot find some proxy classes. Also next I copied ws_example.ear in 'D:\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications' and restarted server but it is not deployed.
Thank you,
MeghanaThank you for replying to my post.
The requirement is that we deploy BPEL suitcase remotely. My impression was that one can get handle to the Locator object only if running on local machine so I was looking at how to create web service on Oracle BPEL PM itself that will accept the stream of jar and deploy it locally.
However now looking at this tutorial and the Java docs, I know it supports RMI calls. So I can use this constructor to get Locator instance -
public Locator(java.lang.String domainId,
java.lang.String password,
java.util.Hashtable pInitialContextProperties)
throws ServerException
Can you let me know sample initial context properties? I checked the sample InvokingProcesses' context.properties
orabpel.platform=oc4j_10g
java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url=ormi://ca-guru/orabpel
java.naming.security.principal=default
java.naming.security.credentials=welcome1
My guess is I have to change that url but I don't know where to point it. Also could you please let me know what are the jars I will need on the client side?
Thank you. I appreciate your help.
Meghana -
Is it possible to deploy Web Services to Tomcat?
Good day,
Can anybody tell me or it is possible to deploy Web Services to Tomcat 5.5.x ? It is possble for ADF, so I was wondering or it is possble for Web Services.
I tried to deploy it with the following libraries:
J2EE (excluding the servlet.jar using the filter, while this package is already present in Tomcat)
Oracle SOAP
Struts Runtime
JSP Runtime
and manually added as library:
wsserver.jar
wsdl.jar
WebServicesHtmlXmlWizard.jar
The situation at this moment is that after deployment, and execution by the a http browser the http request screens shows up as expected (I have been used Embedded stubs), but after sending I get a:
28-Sep-2005 11:03:36 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet MyWebService1 threw exception
java.lang.NoClassDefFoundError: oracle/aurora/ncomp/java/ClassNotFound
at oracle.j2ee.ws.StatelessJavaRpcWebService.getGenerator(StatelessJavaRpcWebService.java:28)
at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:461)
at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:414)
at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:532)
at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:631)
at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1173)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Any sugestions? Or is there a different behaviour between Oracle en Tomcat version caused by modifications from the apache source.
I should appreciate it to get some more details about this issue.JDeveloper will only directly support deployment of web services to an Apache 2.2 Web Server.
-
How to deploy web service/client on websphere
Hi,
I have developed a web service client on Jdeveloper 10.1.3.1.0 and I deployed it on the embeded OC4J and OAS and it worked fine. BUT when I packaged it as EAR file and deployed it on websphere 6.0 {the production enviroment at the client side} It gave me NoClassForService00.
And in websphere application server it didn't recognize it as Web service client.
Any one faced this problem b4. PLZ advice.
ThnxHi Amol,
Thank you very much for replying my question. The contents in my application.xml are:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>testwsapp</display-name>
<description>J2EE Application testwsapp</description>
<module>
<web>
<web-uri>testws_War.war</web-uri>
<context-root>testws</context-root>
</web>
<alt-dd>testws_War.xml</alt-dd>
</module>
</application>
The contents in jaxrpc-ri-runtime.xml are:
<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
<endpoint
name='testws'
interface='contactws.testwsGenServer.testwsRPC'
implementation='contactws.testwsGenServer.testwsRPCBean'
tie='contactws.testwsGenServer.testwsRPC_Tie'
model='null'
wsdl='/WEB-INF/testws.wsdl'
service='{urn:testws/wsdl}Testws'
port='{urn:testws/wsdl}testwsRPCPort'
urlpattern='/testws'
</endpoint></endpoints>
I tried to access and check the web service using:
http://servername:port/testws/testws
The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
I hope I can hear from you soon.
Thank you again,
Jackie -
Can I deploy web service on APEX server
I have APEX 3.1.2 on 11g database.
I need to pull data from other oracle 9i databases into APEX application. I have created web service on my pl/sql package to pull data from 9i databases and deployed service on my local oc4j instance (within jdeveloper). My APEX app pull data from multiple oracle 9i database. Now I need to move my web service to my dev/test environment.
Can I deploy web service on APEX server? or do I need to deploy on another web server?
I know I can easily pull the data from other oracle 9i databases using DB link. I want to explore Web services option to just to see is it possible to pull data from multiple sources into APEX app using web service running from APEX server?.
Any help on this will be appreciated.
RK Shah
Edited by: RK Shah on Apr 7, 2009 7:27 PMI am in the same situation. Consuming a web service is easy with APEX. But publishing one needs a web server that is more complex than the one that comes with APEX for free.
I am exploring the possibility of building the web service in Jdeveloper as you have. Then I will make a WAR file that I will publish to an apache tomcat J2EE server that another department runs. I believe it will work since all the components required should be in the WAR file.
I am new at this. I will let you know how it works out.
The other possibility is to upgrade the appserver to the full Oracle Fusion server (maybe). This may be expensive and be too much for just a simple web service. But then the publish to application server from jdeveloper is super easy. -
Problem Deploying Web Services
I have created a Web Service based on a pl/sql function in my database. I used the JDeveloper (10.1.3.2.0) wizard to created the web service. I used the J2EE 1.4 (JAX-RPC) Web Service wizard. The web service works fine when I access it using the OC4J container built into JDeveloper. When I deploy the Web Service to our Oracle Application Server 10.1.2.0.2 on Solaris I receive the following error when I try to access the Web Service:
Servlet error: Error instantiating servlet 'ticketwsSoapHttpPort' (servlet class not found, make sure it exists at /u01/app/oracle/midtier/j2ee/OC4J_APPS/applications/ticketws_jax/ticketws_jax/WEB-INF/classes/ticket/TicketwsUser.class, in a jar in /u01/app/oracle/midtier/j2ee/OC4J_APPS/applications/ticketws_jax/ticketws_jax/WEB-INF/lib/, in an orion-web.xml specified classpath or global server classpath)
I checked both paths mentioned in the error message on the server. All files seemed to be there.
Any insight into this issue would be much appreciated.Hi user493481,
I have developed a PL/SQL Web Service using JDeveloper, it is working fine on local instance, time to deloy on Application Server (Apps 11.5.10.2),
could you post the deploying steps...
Thanks in advance,
Rao. -
How to integrate deployed Web Services and Portlets
Hi All,
I am able to deploy Web Services and Portlets in the Application Server, which is in the network system.Now, I want to know how to integrate the Web Services and Portlets.I dont have any idea about this and i didn't got any good material..
Please, provide some useful links or material, if anybody has any idea about this.
Thanks in advance.
PraphulYou can consume a Web service from a JSF page for example using the ADF Web service data control:
http://www.oracle.com/technology/obe/obe11jdev/bulldog/webservices/ws.html
http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
You can turn these JSF pages into portlets using WebCenter's JSF to Portlet bridge.
http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html -
To launch Oracle BPM deployed Web Services [In BPM Enterprise]
Hi all,
I have expose my Process Instance into Web Services in Studio.
It is working well. In Studio, I start the Engine (Run -> Start Engine),
Then, I Start the Web Services (Run -> Launch deployed Web Services webapps).
It would show me my local webservice links.
http://localhost:9000/albpmServices/<ProjectName>/ws
But, I unable to launch this Web Service Webapps, when i deploy the project into Oracle BPM Enterprise with Weblogic Server.
May know what is the link for BPM Enterprise?
Regards,
ChrisMy URL is:-
http://localhost:9000/albpmServices/TestProject/ws/TestProcessServiceListener?wsdl=true
and it does not seem to open the WSDL when I start the enterprise server engine..
I have the process exposed as a web-service with two methods..
One for Process Creation and another for Notification Wait Activity...
I have also checked the box to start PAPI WS Services on my standalone server
Is there some other config that I need to make inside my standalone server to get this WSDL?
I understand that standalone works on Tomcat... -
Has anyone deployed converged access with 3850 switches and 5760 WLCs?
Has anyone deployed a converged access network architecture with 3850 switches and 5760 WLCs? I have done lots of projects with the 5508 WLCs In a centralized deployment. Basically with this design, I manage 2 logical networks as the wireless network is an overlay over the wired network. I can design firewall to segregate traffic between the wired and wireless hence I can carry both staff and guest traffic.
Now Cisco is telling us that there is new design such that the dats plane traffic can be dropped locally through the 3850 switched. I am not sold on this and have not found any recommended best practices on when should we use a converged access architecture.
Pros
With converged access, data traffic is terminated at the MA which is on the switches, hence the WLC will not be a bottleneck? This is to prepare adoption for 802.11ac?
Less hops for voice calls from user A to user B as data control traffic is dropped locally.
Cons
Now how do I segregate guest and staff traffic if my security folks say I need a firewall?
Troubleshooting wireless client mobility will be a nightmare as the 3850 switches are MA.
Pushing and upgrading code for the Code will mean upgrading the stack of switches in the LAN riser. This will be painful in a huge campus environment like an university.
Can someone convince me why would a customer choose converged access?
Sent from Cisco Technical Support iPad AppThey choose CA because of the capwap termination at the switch. You can still use a 5508 and tunnel guest to a DMZ segment if you wish. You will need a 5508 though is you want to tunnel traffic to an anchor WLC.
Sent from Cisco Technical Support iPhone App -
How to deploy web service in EP
Hi Gurus!!!
I am trying to connect GRC to EP. GRC system is trying to reach EP via a web service but it is giving connection failed. But it is not giving any error.
I have a feeling that web service is not published. Somehow I published web service in EP in VA tool. But still issue is not resolved. Can any one guide me with steps to deploy web service in EP so that external systems can reach EP via web service.
Thanks in advance,
SandeepSandeep check if your web service requires any authentication...
then you would need to set the same in Visual administrator...........
refer below article....
it is not the exact scenario as of yours....but still you might get some hint............
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?QuickLink=index&overridelayout=true -
Can Jdeveloper 10.1.3 deploy web service on OC4J 10.1.2?
Hi all,
Can I use jdeveloper 10.1.3 develop, and deploy web service on OC4J 10.1.2? My jdk version is 1.4.2. Thanks in advance.We don't have a direct connection from JDev 10.1.3 to OC4J 10.1.2 - we do have a connection to OAS 10.1.2.
If you want to deploy to a stand alone OC4J 10.1.2 then just create the WAR file in JDeveloper - and then use the OC4J admin interface to deploy the WAR.
Maybe you are looking for
-
I have an erra message on my officejet 8500 pro.
HP Officejet Pro 8500 all in one printer, fax, scanner Product # CB022A Operating system: Window XP Erra Message: Pump motor stalled I have made no changes. I did follow the trouble shooting guide. I unpluged the unit from the wall and the machin
-
Problem in file content conversion from XML to CSV
Hi Experts, I am finding problem in file content conversion. I need to convert the following XML file into CSV file: <?xml version="1.0" encoding="UTF-8" ?> - <ns0:MT_CROSS_REF xmlns:ns0="urn:dabur:idoc2file:pos"> <Update_type>2</Update_type>
-
Tax rate is not editable in r12.
HI. I need to change the tax rate for a particular location in r12, In 11i has the option for do that by the navigation that "AR-->Setup-->Tax-->Locations", but in r12 has the option in same navigation which one is in 11i, however that field
-
CD rom does not appear in boot menu in lenovo G500 windows 8
Hello I want to format my lenovo G500 windows 8 and install windows 7 but I can't because the CD rom does not appear in the boot menu Solved! Go to Solution.
-
Downloaded the recent update, now I cannot sync photos nor view my photos on my phone.
Downloaded the recent update, now I cannot sync photos nor view my photos on my phone. Push the photo app button and it pops up then off.