Developing Portable WebServices using Jdeveloper
I am currently using Jdeveloper 10.1.3.2 and I have developed WebServices from my existing WSDL files and deployed the WebServices in OC4J. Everything is working fine now. I noticed that Jdeveloper has created some OC4J specific files like oracle-webservice.xml. Now I want this working WebService Application to be deployed to another Application Server. I am sure it would fail.
My Question is,
1) How can I devlop Web Services using Jdeveloper which can be deployed in any App Server?
2) Will Jdev 11g with JAX-WS will be helpful?
3) Is there any tutorial for developing portable webservices which can be deployed across any App Server.
Hi Frank
Thanks for your response.
So If I remove my oracle-webservices.xml and deploy my Project, Will it work in any App Server.
Also where can I put the contents in oracle-webservices.xml file like
<oracle-webservices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oracle-webservices-10_0.xsd">
<webservice-description name="''''''''">
<port-component name="''''''''">
<operations>
</operations>
</port-component>
</port-component>
</webservice-description>
</oracle-webservices>
Thanks
Similar Messages
-
How to develop java webservice in jDeveloper
Hi,
iam new to web services. iwant to develop the webservice in jDeveloper. i am also new to jDeveloper. ?
can you please give me the steps to develop the webservices?
and also give me the suggestion which tool i can use?
if any body having the sample application please forward to [email protected]?
regards
ramHi frank,
thanks for your reply. i got it. but when i am testing this webservice its not calling properly.when i am calling the url,, its displaying as page cant be displayed. i had started the server as well..... what is the problem..
this is the url what i got from the wsdl file...
http://10.113.11.156:8888/WebApp-MyPro-context-root/HelloWSSoapHttpPort
regards
ram -
Creating WebService using Jdeveloper 9i
Is there a article on creating PLSQL Webservice using Jdeveloper 9i(9.0.3.5) and then porting it on the Application server? We have Oracle Application 11.5.10 using 10g database.
Thanks
PHKFollow the links at the end of the demo pages of JDeveloper to get to older stuff for example this:
http://www.oracle.com/technology/products/jdev/viewlets/903_ws_plsql/903_WS_PLSQL_viewlet.html -
Developing Struts Portlet using JDeveloper
Hi...
Can any one explain how to develop struts portlet using Jdeveloper? What are the steps involved in developing Struts Portlet.
Thanks,
Siree.Try googling for "struts portlet in JDeveloper" and you'll get this for example:
http://docs.huihoo.com/oracle/docs/B14099_19/portal.1012/b14134/pdg_java_adv.htm#CHDFAHEC -
How to develop plSQL Packages using jDeveloper
Working in one schema with multiple packages and having multiple programmers all working at the same time with in the schema and packages. How do you all work on maybe the same package at the same time and not walk on each other(save code over each other and lose updates)? In other words programmer A opens A_WEBFORMS.WF_HR.SICKVACREQ; then programmer B also opens A_WEBFORMS.WF_HR.NOTARY. Both are in same schema, same package, but different procedures with in package. Both update the package by using ctrl-s. This causes them both to lose code or just get mixed up when programmer A saves and the part that programmer B is working on changes.
Help? Is it the way you setup the Oracle DB?, or is it the total environment?, or is it the way you use Jdeveloper????If you develop directly against the database into the same schema, you have the risk off bumping into somebody else. The more developers work on the same project the more the need to work with an external tool to develop your code (and tables, views, etc). In the past it would be Oracle Designer, recently JDeveloper is getting more and more suitable for the job.
If you are using JDeveloper you should use offline database objects and put them under version control. During the development process, version control will offer the abillity to merge different versions of a single object the programmers are working on. When generating to the database you synchronize the database with your code in jdeveloper, when an other user generates his version over yours, at least you will not lose your version of the object, since you still have it as an offline database object. Anyway, let users generate to their own database schema, so they will not influence other users code. Certain revisions can then be generated from time to time to the actual database schema from the version controlled offline database objects.
Just my two cents ... -
Newbie question - Portlet development in Portal using JDeveloper
Hello.
I've tried to develop a portlet using Oracle JDeveloper, then using it in an Oracle Portal-provided web page.
I'm so really confused... I don't know where to start!
Let'say the portlet is a very simple Hello World static html or jsp page.
What could I do in order to use it in Portal?
Have I to use jpdk? How?
Or have I to deploy it in the Application Server home OC4J as a web application?
Or have I to deploy it in the OC4J_Portal as a web application?
Or....
If this helps, here is my platform:
I'm using Oracle Application Server 10g Portal as middle-tier. It is correlated to an OID/Infrastructure istance wich provides Single SignOn for the applications, based upon an Oracle 9i database, in which runs Oracle Workflow; my needs are to use a Workflow based Java applications in the Oracle Portal as portlets.
Don't worry: by now, I'm interested in just knowing how to run in the Portal a simple Hello World portlet built with JDeveloper...
Please, help me.
Thank you in advance.
- UmbertoHi Umberto,
Did you have a chance to take a look at the Portal Developer's Guide?
The Building Java Portlets chapter walks you through the steps you need to take.
Good luck,
Peter -
Exposing plsql Packages as webservices using JDeveloper
Hi folks,
I'm using Jdeveloper to publish database package/ procedures as webservices.These procedures use objects types as parameters (Varchar2's). I can generate the webservices (by the JDeveloper wizard), the WSDL file is generated;
Question is about the required and optional fields. In my procedure declaration I defined the input as Varchar2 and also defined a default
Procedure p ( p_var IN VARCHAR2 Default NULL) AS
BEGIN
NULL;
END;
But when I deploy this package as webservice (via jdeveloper) to our weblogic server, and run a test, I get errors related to required fields if I don't pass in any value.
Invalid input arguments for the following fields: p_var value required
How would I change this behavior ? I made the procedures to accept default parameters ( even when no value is passed I would want my code to run)
Thanks in advance,
PrashanthThanks Timo !
Found out to be an issue with Oracle Fusion Middleware control (http://<hostname>:<port>/em ) validating for required Inputs, but when tested with SOAP UI or Web logic Test Client (http://<hostname>:<port>/wls_utc) it works as expected. Reported the issue to Oracle Support and the problem has been reproduced there.
Regards,
Prashanth -
Creating Asynchronous webservice using Jdeveloper
Guys,
I want to expose a java class as a Asynchronous web service. The issue is i cannot make it asynchronous. When i deploy it, there is no callback port.
Have anybody used Jdeveloper to generate Asynchronous web service from java class?
Below is my code....
import javax.jws.WebService;
import oracle.webservices.annotations.async.AsyncWebService;
@WebService(serviceName = "MyTestAsyncService")
@AsyncWebService
public class MyTestAsyncService
public String sayHello()
return "Hello World";Hello,
I think, it should be work. I just tested using JDeveloper 11.1.2.3.0.
This is web service:
package webservice;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService(serviceName = "MyTestAsyncService")
public class MyTestAsyncService {
@WebMethod
public String sayHello() {
return "Hello World";
I have generated using New->Web Service Client and Proxy and give WSDL URL.
It will generate web service client with asynchrone.
package ws.client;
// This source file is generated by Oracle tools.
// Contents may be subject to change.
// For reporting problems, use the following:
// Generated by Oracle JDeveloper 11g Release 2 11.1.2.3.0.6276
public class MyTestAsyncServicePortClient {
public static void main(String[] args) {
MyTestAsyncService_Service myTestAsyncService_Service = new MyTestAsyncService_Service();
MyTestAsyncService myTestAsyncService = myTestAsyncService_Service.getMyTestAsyncServicePort();
System.out.println(myTestAsyncService.sayHello());
// Add your code to call the desired methods.
Also that one is port class, which is generated from wizard.
package ws.client;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
* This class was generated by the JAX-WS RI.
* Oracle JAX-WS 2.1.5
* Generated source version: 2.1
@WebServiceClient(name = "MyTestAsyncService", targetNamespace = "http://webservice/", wsdlLocation = "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService")
public class MyTestAsyncService_Service
extends Service
private final static URL MYTESTASYNCSERVICE_WSDL_LOCATION;
private final static Logger logger = Logger.getLogger(ws.client.MyTestAsyncService_Service.class.getName());
static {
URL url = null;
try {
URL baseUrl;
baseUrl = ws.client.MyTestAsyncService_Service.class.getResource(".");
url = new URL(baseUrl, "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService");
} catch (MalformedURLException e) {
logger.warning("Failed to create URL for the wsdl Location: 'http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService', retrying as a local file");
logger.warning(e.getMessage());
MYTESTASYNCSERVICE_WSDL_LOCATION = url;
public MyTestAsyncService_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
public MyTestAsyncService_Service() {
super(MYTESTASYNCSERVICE_WSDL_LOCATION, new QName("http://webservice/", "MyTestAsyncService"));
* @return
* returns MyTestAsyncService
@WebEndpoint(name = "MyTestAsyncServicePort")
public MyTestAsyncService getMyTestAsyncServicePort() {
return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class);
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns MyTestAsyncService
@WebEndpoint(name = "MyTestAsyncServicePort")
public MyTestAsyncService getMyTestAsyncServicePort(WebServiceFeature... features) {
return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class, features);
I hope, it will work
Regards,
Eba -
Develope complex WebService with JDeveloper and deploy to tomcat
Hello,
I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
My first question is if that is possible?
I think there are few problems.
I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
Another question is how I have to decode the images and the pdf to provide those files in a WebService?
I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
Thank you,
TimHi,
does anybody have an idea about that?
Thanks,
Tim -
Publish PLSQL Package as webservice using Jdeveloper
Hi All,
I have developed an PLSQL package that select records based on search criteria. I want to publish this as an web service. I have published another PLSQL package that inserts to a table as a web service, which is working fine(Using Jdeveloper and SOA Suite(Application Server)). I am getting error as "cannot create target" when i published as a web service for select.
Procedure has 4 IN Parameters and 4 OUT Parameters in which one of the OUT Parameter is of table type. When i click invoke button the error details are as follows
<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: hr.Select_Employee_Records_V1User</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Please suggest me how to proceed further
Thanks and Regards,
Mahesh
Edited by: MAH on Nov 2, 2008 10:33 PMHave you tried using the DB adapter for stored procedures? Is your "record" type a PL/SQL record type? Or is it a SQL object type? If it's the former then the adapter will automatically generate corresponding object types. A package is also generated that contains a wrapper API for your original procedure. The package also includes conversions to convert between the record and the object types. If it's the latter, then the adapter does nothing special as it can handle object types. Once deployed, your API will be executed with an included instance XML for the inbound parameters. XML will be generated containing values of outbound parameters. In your case, if the data type is a PL/SQL record, the problem may be that record is not a supported data type.
-
Developing webservices using Java SE6 and Tomcat Webserver
Hi All,
I am trying to develop a webservice using Java SE6 Beeta SDK with Tomcat webserver. I read somewhere in the Sun site and it says JAXWS2.0 is fully packaged with JAVA SE 6 SDK? If this is correct then what are all the remining packages(jar files present in JWSDP2.0) required to develop and publish the webservice.
I does the setup as follows.
- Install the Java SE6 SDK Beeta available.
- Install Tomcat 5.17 webserver.
- Started the webserver by setting java_home as SDK6.
I am not able to publish the webservice with this setup
Do i need to place any other package present in JWSDP2.0 in Tomcat_home/common/lib ?
I used the same example present in JWSDP2.0 package.
Please guide me regarding this?
Thanks In Advance,
MohanAny ideas on how this could be achieved.Have you looked at the Unofficial Web Start FAQ at the Lopica site?
- Gerald
PS: You might wonna also consider posting your question to the Java Web Start developers group at Yahoo! See http://groups.yahoo.com/group/webstart -
Stateful webservice using topdownAssemble task.
Hi,
I have looked all over to find documentation on how to assemble a "stateful" webservice using the topdownAssemble task in Ant. It looks stateful webservice creation is supported using the bottom up approach but not the top-down approach. All the documentation I have found so far refer to the "assemble" task. Is my assumption true that topdownAssemble does NOT support stateful webservice creation?
Thanks!Smok,
Are you just trying to up your post count?
My question is NOT about runtime support for stateful services. Nor is it about JDevelopers capabilities to support stateful service. I know that you can develop stateful services using JDeveloper and deploy them into OC4J/SOA Suite.
My question is about an ANT task called "topdownAssemble" - thats the exact name of the task; and its ability to generate java code out of WSDL for **stateful** webservices.
Get it now? By the way, I do consider this part of SOA development. So unless you tell me there is better forum for this question, don't be suggesting that it belongs elsewhere.
Edited by: user645090 on Oct 7, 2008 11:21 AM -
SSL Help required : using JDeveloper
I am using a single self signed certificate created using keytool on both the client and server end. (i.e. the same keystore as the truststore and keystore as well as the same on the client and the server)
Tried this sample code to fetch the WSDL of my webservice in JDeveloper. Successfully did this.
===========================================================
import HTTPClient.HTTPConnection;
import HTTPClient.HTTPResponse;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import java.io.IOException;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
public class SSLSocketClientWithClientAuth {
public static void main(String[] args) {
if (args.length < 4) {
System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
"[wallet] [password]");
System.exit(-1);
String hostname = args[0].toLowerCase();
int port = Integer.decode(args[1]).intValue();
String walletPath = args[2];
String password = args[3];
HTTPConnection httpsConnection = null;
OracleSSLCredential credential = null;
try {
httpsConnection = new HTTPConnection("https", hostname, port);
} catch (IOException e) {
System.out.println("HTTPS Protocol not supported");
System.exit(-1);
try {
credential = new OracleSSLCredential();
credential.setWallet(walletPath, password);
} catch (IOException e) {
System.out.println("Could not open wallet");
System.exit(-1);
httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
// httpsConnection.setSSLCredential(credential);
System.out.println("Set credentials and cipher suite");
try {
httpsConnection.connect();
System.out.println("Connected!!!!!");
} catch (IOException e) {
System.out.println("Could not establish connection");
e.printStackTrace();
System.exit(-1);
//javax.servlet.request.
X509Certificate[] peerCerts = null;
/* try {
SSLSession sslSession = httpsConnection.getSSLSession();
System.out.println("Getting session.........");
httpsConnection.connect();
}catch(Exception e){
e.printStackTrace();
System.out.println("null Getting session.........");
System.exit(-1);
try{
peerCerts =
(httpsConnection.getSSLSession()).getPeerCertificateChain();
} catch (javax.net.ssl.SSLPeerUnverifiedException e) {
System.err.println("Unable to obtain peer credentials");
e.printStackTrace();
System.exit(-1);
String peerCertDN =
peerCerts[peerCerts.length - 1].getSubjectDN().getName();
peerCertDN = peerCertDN.toLowerCase();
if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
System.out.println("Certificate for " + hostname +
" is issued to " + peerCertDN);
System.out.println("Aborting connection");
System.exit(-1);
try {
HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
System.out.println("Server Response: ");
System.out.println(rsp.getText());
System.out.println("Server Response: ");
System.out.println(rsp.getText());
} catch (Exception e) {
System.out.println("Exception occured during Get");
e.printStackTrace();
System.exit(-1);
=====================================================
But on using the client proxy generated for my webservice using JDeveloper and then setting the system properties such as
System.setProperty("javax.net.ssl.keyStore",keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
System.setProperty("javax.net.ssl.trustStore", trustStore);
System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
System.setProperty("javax.net.ssl.keyStoreType","JKS");
System.setProperty("javax.net.ssl.trustStoreType","JKS");
I get the following exception:
<MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
Please can anybody help me with this!!!!
Thanks in advance
NileshHi,
Try the following.
String_arctest model = new String_arctest();
ReturnTestString str=new ReturnTestString(model);
str.setArg1("HalloWelt");
Request_ReturnTestString req=new Request_ReturnTestString(model);
req.addReturnTestString(str);
wdContext.nodeRequest_ReturnTestString().bind(req);
wdContext.nodeRequest_ReturnTestString()
.currentRequest_ReturnTestStringElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
wdContext.nodeResponse().nodeReturnTestStringResponse().invalidate();
Regards, Anilkumar -
Iphone application using jdeveloper
Hi All
I'm new to this forum,
i want to know , can i develop iphone application using jdeveloper and ADF. i wnt some tutorials regarding this to get started.pls help me.You can do logging and debugging on iOS - see this blog entry for details and a video:
https://blogs.oracle.com/mobile/entry/debugging_adf_mobile_apps_on
You can set memory specs for the JVM in the cvm.properties file that you can find under the META-INF directory in your Application Resources -
Problem in accessing Web Services developed using JDeveloper 10.1.3
We have developed J2EE 1.4 JAX RPC Web Services using Jdeveloper 10.1.3.
I take the WSDL document generated by JDev and created Web Proxy for that WSDL.
I have developed the Swing Client for accessing the Web Service and when i tried to run from JDev it is working fine.
My requirement is to access the swing client from Java Web start.
When i tried to run from Web start, I am getting the following exception.
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:90)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<init>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<init>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:280)
... 39 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:88)
... 43 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:90)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<init>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<init>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:280)
... 39 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:88)
... 43 more
java.lang.NullPointerException
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.registerSerializer(MasterDocumentWS_SerializerRegistry.java:95)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:32)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Now we struck with this error and I am not able to proceed further. Pl. help me in resolving the issue.
I shall be thankful to your help.
Regards...
Ravi KumarI am also having the same problem. Calling a web service inside JDeveloper 10.1.3.3 works fine. When I deploy to a jar file and include all Jars that the dependency analyzer identifies, the following error occurs:
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
Your work around defining Java system properties does work, but why do we need to do this using the Oracle SOAP stack?
If there are alternatives to this problem please share. Thank you.
Maybe you are looking for
-
hi experts i devepoled a form for a paricular document no.....in that if i give doc no and date i will get the items in that document no.......but i want in such a way that i will give range of document no's....all the recipts for that range shoul
-
HTTPService POST with XML does not declare charset encoding
Hi all. I'm trying to do a HTTP POST of some XML using HTTPService and I've got it working apart form the fact that the HTTP message sent does no declare what charcater set it is using for encoding. As a test I send a 'ñ' character and it seems from
-
Transferring Purchases from old computer
We used to have a Dell with iTunes that we made App store purchases for our family's iPod's. We now have an iMac, but none of the previously purchased apps are showing up. Is there a way to transfer from our iPods to our iMac without re-purchasing ev
-
Trace doesn't work with adl but trace.apply does
No great deal, just wondering... btw, on intel mac using sdk 2.0.2. Cheers, chr
-
Problems with FC widescreen 16:9 movie and iDVD 4:3
Running: FCE v3.5 HD and iDVD 8 I'm doing a large domestic film project for friends which requires me to author my FCE movie as a DVD (as a broadcast professional my editing is normally just played straight out to digi-tape and so I'm a little green