Web Service « weblogic « Java Enterprise Q&A





1. Weblogic add-on to serialize web service calls    stackoverflow.com

Is there a prebuilt tool that would integrate with BEA/Oracle Weblogic 10.0 and trace on a database table each call to a web service exposed by the server? UPDATE: the goal is ...

2. Hosting .NET Web Service on Web Logic    stackoverflow.com

Is there any way we can host .NET (.asmx) web service on web logic? Thanks Paresh

3. Best way to code a webservice in weblogic?    stackoverflow.com

I am new to Weblogic and J2ee. I need to build a webservice that simply runs a query on the backend database (DB2 zOS) and returns the results. Being new to ...

4. NullPointerException when calling webservice in Weblogic 9.2    stackoverflow.com

I am trying to call a webservice. The client was generated with weblogic's ant task clientgen. But when I use the client, following exception happens:

    java.lang.ExceptionInInitializerError
 at com.bea.xbean.xb.xsdschema.SchemaDocument$Factory.parse(SchemaDocument.java:799)
 ...

5. Weblogic Web service method not associated with a namespace    stackoverflow.com

I am upgrading an EJB Webservice running in Weblogic 8.1 environment to Weblogic 10.3. As per weblogic documentation, i converted the EJB bean class to a normal Java class and added ...

6. JEE Webservices: Naming conflict    stackoverflow.com

I'm trying to create Webservices proxies with wsimport, but I get an error because of a conflict. "Two declarations cause a collision in the ObjectFactory class." I've got two EJBs with Webservices ...

7. "Couldn't match Reply To parameter" when calling weblogic oasis web service    stackoverflow.com

Does anyone had experience with this kind of error. I was able to successfully call and validate a web service deployed in web logic with a web service client deployed in ...

8. use p6 web service in .net    stackoverflow.com

There are a lot of web services installed on Primavera P6. WSDL: ActivityCodeAssignment.wsdl Primary Key Field: A multi-part key comprised of the following elements:

ActivityObjectId
ActivityCodeTypeObjectId
Target Namespace: http://xmlns.oracle.com/Primavera/P6/WS/ActivityCodeAssignment/V1 Default Transport URLs:
http://<hostname>:<port number>/p6ws/services/ActivityCodeAssignment?wsdl
https://<hostname>:<port number>/p6ws/services/ActivityCodeAssignment?wsdl 
But ...





10. Weblogic webservices question    coderanch.com

Hi, trying to create a client call using stubs generated by weblogic (7) tool clientgen on a wasp 4.6 wsdl. I'm stuck with the following error: java.lang.NoSuchMethodError at weblogic.xml.schema.binding.internal.TypeMappingEntryImpl.(TypeMappingEntryImpl.java:61) at weblogic.xml.schema.binding.internal.XSDTypeMapping.addEntries(XSDTypeMapping.java:724) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createPrimaryMapping(XSDTypeMapping.java:149) at weblogic.xml.schema.binding.internal.XSDTypeMapping.createInstance(XSDTypeMapping.java:135) at weblogic.xml.schema.binding.internal.XSDTypeMapping.(XSDTypeMapping.java:116) at weblogic.xml.schema.binding.internal.TypeMappingFactoryBase.createDefaultMapping(TypeMappingFactoryBase.java:18) at weblogic.webservice.core.encoding.DefaultRegistry.(DefaultRegistry.java:77) at weblogic.webservice.core.rpc.ServiceImpl.(ServiceImpl.java:68) at weblogic.webservice.core.rpc.ServiceImpl.(ServiceImpl.java:57) at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:36) Anyone any ideas? It looks like I'm missing a jar in my classpath but ...

11. Weblogic 7 clientgen.    coderanch.com

Hi all, I have this problem with weblogic 7 clientgen ant task. It is not able to generate client stubs from a wsdl, deployed webservice on a wasp webserver. Axis 1.0 manages fine. It seems that clientgen is not able to generate the client (de)serializers properly. It throws a WSDLParseException and starts nagging about "Cannot have more than one return part. ...

12. Weblogic 7.0 and ActiveX    coderanch.com

13. Mew to webservices(Urgent)(..in Weblogic)    coderanch.com

Beat me if i'm wrong. Its generally not good to do something like this, this will not really help you or your company to understand the advantage of the concepts liek webservices or whatever. agree ? AW either you can download the webservices tool that come with weblogic and run the samples in it or you can show some online webservices ...

14. Weblogic WebService Access    coderanch.com

Workshop should be able to generate the client code for you as well. Have you tried that? Anyway, usually the best way to go forward is to take the WSDL document for your web service, run WSDL2Java against it, and use the set of Java classes generated for you as-is from your client code. Which web services engine are you using ...

16. change property with weblogic    coderanch.com





17. Invoking weblogic webservice by choice    coderanch.com

Hi, I have a question about how to deploy undeploy a weblogic web service by choice. Herez the scenario I have two web service within the same weblogic workshop project. I create an ear file out of it and deploy it on production server. Currently, webservice 1 is the only one being used. When webservice 2 within the same ear is ...

18. How to use jwsdp with weblogic 8.1 sp 4    coderanch.com

20. WebLogic vs. Monson-Haefel    coderanch.com

I am studying the Monsol-Haefel book and trying out some simple examples in practise with WebLogic 8.1. At the same time I am reading the WL tutorials (Programming Web Services), and creating Web Services in that tutorial seems completely different from what M-H book describes. I think I am a bit confused with the big picture. For example chapters 10, 11, ...

22. what is targetNameSpace in weblogic    coderanch.com

24. Hello World webservice running on weblogic    coderanch.com

Hi I am running a small Hello world kind of webservice in weblogic 7.0 platform. I have created following java files Hello.java (Remote interface) HelloHome.java (Home interface) HelloBean.java (EJB) HelloClient.java I have compiled the server side java files and created META-INF and kept ejb-jar.xml and weblogic-jar.xml in it. when i am trying to run the weblogic.ejbc i am getting the following ...

27. WebService using weblogic api    coderanch.com

Hi, I am trying to use 2 way ssl using webservices client , here is my code : AxisProperties.setProperty("org.apache.axis.components.net.SecureSocketFactory","org.apache.axis.components.net.SunFakeTrustSocketFactory"); SSLAdapterFactory factory = SSLAdapterFactory.getDefaultFactory(); WLSSLAdapter adapter = (WLSSLAdapter) factory.getSSLAdapter(); // clientCredentialFile stores in PEM format the public key and // all the CAs associated with it + then the private key. All this in // a concatenated manner FileInputStream clientCredentialFile = new ...

28. Best book for Weblogic Webservices    coderanch.com

31. problem with clientgen for weblogic    coderanch.com

Hi, I am facing a problem. Basically I want to invoke a web service that authorizes some information. This web service is ready and the wsdl file is saved on my comp. I am using BEA Weblogic. I ran the following command java weblogic.webservice.clientgen -wsdl "http://goyle/ACHWebservice/CCACHWebservice.asmx?WSDL" -clientJar "C:\Documents and Settings\abhattad\My Documents\clientjar.jar" -packageName "myapp.myservice.client" and got the following error can't open C:\j2sdk1.4.2_09\jre\lib\tzmappings. ...

32. WebLogic Server Password Problem    coderanch.com

33. Weblogic web service Secuiry    coderanch.com

Hi All, I had written a Webservice in weblogic. I secured the url of webservice by giving Security constrain in web.xml. When i try to invoke the code from client i get the following exception Client Code, System.setProperty("javax.xml.soap.MessageFactory","weblogic.webservice.core.soap.MessageFactoryImpl"); // Setup the global JAX-RPC service factory System.setProperty( "javax.xml.rpc.ServiceFactory","weblogic.webservice.core.rpc.ServiceFactoryImpl"); String strUrl = "http://localhost:7001/TestWebservice/TestEJB?WSDL"; TestEJB_Impl ws; String returnVal = ""; try { ws = ...

34. Web Service on WebLogic - MQListener    coderanch.com

35. SerializationException During operation Invocation in Weblogic Webservice    coderanch.com

Hi, I have exposed stateless session bean as weblogic webservice on weblogic92 server, it was successfully deployed but when I access the operation from client or server, Iam getting the weblogic.xml.schema.binding.SerializationException: mapping lookup failure. Error. Please find below SOAP request and response that is going and coming back from my webservice. Can some one help me in coming out this Error. ...

37. How to configure SoapUi with Weblogic Server.    coderanch.com

Hi All, The beauty of SoapUI is its taken care of virtually everything but the actual data values. Network communications, formation of the SOAP payloads, and even validating the XML structures. For the developer this is a boon as you can test one of your web services to see what's happening without writing any client side code. My question is how ...

39. dashboard issue with weblogic 10    coderanch.com

40. Weblogic 10 - operation Name part of request XML    coderanch.com

Hi, In weblogic 10.3, We have created a web service from the WSDL. All is OK but the problem that we are facing is that the request XML has the request object encapsulated within the transaction Name tag. For example, if the operation name is getNumericId, the request xml (from the wsdl test page) is coming out to be: . Because ...

42. NullPointerException when calling webservice in Weblogic 9.2    coderanch.com

java.lang.ExceptionInInitializerError at com.bea.xbean.xb.xsdschema.SchemaDocument$Factory.parse(SchemaDocument.java:799) at weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:104) at weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:73) at weblogic.wsee.wsdl.WsdlTypes.parse(WsdlTypes.java:165) at weblogic.wsee.wsdl.WsdlDefinitions.parseChild(WsdlDefinitions.java:480) at weblogic.wsee.wsdl.WsdlExtensible.parse(WsdlExtensible.java:98) at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:428) at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:385) at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:78) at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:65) at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:437) at weblogic.wsee.jaxrpc.ServiceImpl.(ServiceImpl.java:108) [...] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) ...

44. WS in weblogic    coderanch.com

45. weblogic clusters issue    coderanch.com

46. Weblogic Webservices Typemapping    coderanch.com

Hi, I am creating a webservice in Weblogic public ResponseT price(RequestT request) { ..... } The ResponseT and RequestT objects are defined in an XSD. I am using xmlbean to generate these objects. When I do a servicegen task,. I am getting the following error weblogic.xml.schema.binding.BindingException: Invalid class received: interface com.qwest.xmlSchema.RequestT loaded from file!/com/xxx/xmlSchema/RequestT.class. All classes that will be serialized or ...

49. Weblogic deployement of a webservice    coderanch.com

Hi everyone I' m going to explain the nature of my problem. I have modified a webservice and I successfully build it into a war that I have deployed localy on my tomcat 7. I then chose to uncompress the war file with winzip to a set of directories and files: index.jsp WEB-INF META-INF with filezilla I ftped (or rather sftped) ...

50. Web Service secutiry setting in weblogic for using Password digest.    forums.oracle.com

Can someone please send me the steps of setting web service security for using Password digest? Along with that can you also send me the steps (code) for setting up the SOAP Headers in the client to access this secure web service? I have already tried the steps given in bea website but that does not work.