Calling a WebLogic web service from a WebLogic web application

We would like to call a WebLogic web service from WebLogic web application. The current architecture looks like:
LoadBalancer--->iPlanet-1/iPlanet-2--->Firewall--->WebLogic-AppServer-1/WebLogic-AppServer-2
The web application and web service are in the same WebLogic cluster. We would prefer that the web services do not get published externally.
Does the WebLogic web application need to make a call back outside the firewall to the load balancer?
Is there a way the web services can be called locally with load balancing?
Can web service calls be made over the t3 protocol?
Thanks,
Mike

I think one solution is to use a Java proxy to call the Web services.
In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
(For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )

Similar Messages

  • Calling a soap web service from a java desktop application

    Hi,
    Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
    Any help is greatly appreciated.
    thank you,
    Julie

    If you are the consumer you don't need any web server. The web server is only needed in the provider end.
    In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
    take a look at:
    https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
    http://java.sun.com/webservices/technologies/index.jsp
    For the provider end there is also a built in http server to expose web service via HTTP without the need to
    use any external web server.
    take a look at:
    http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html

  • Calling web service from MBean weblogic cannot find type mapping file

    When calling web service from custom MBean i get java.io.IOException.
    java.io.IOException: unable to find the type mapping resource file for:
    net.msl.sfx.ebooking.client.BookingPartiesServiceService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegis
    try.java:67)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:83)
    at net.msl.sfx.ebooking.client.BookingPartiesServiceService_Impl.<init>(
    BookingPartiesServiceService_Impl.java:22)
    at net.msl.sfx.ebooking.service.EBookingService.getBookingParties(EBooki
    ngService.java:59)
    The types.xml file is placed in same jar file as the classes such as net.msl.sfx.ebooking.client.BookingPartiesServiceService_Impl.
    When calling the same class/method from a EJB, everything works fine and the web service is called.

    i am having the same problem.
    Do you have a solution now?
    Thanks

  • Error when generating a Web Service from WSDL (Weblogic Workshop)

    Hi,
    I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
    Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
    org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
         at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
         ... 8 more
    I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
    If anyone has any idea on this please suggest a solution.
    Thanks in advance
    -AKJ

    Yes, I assume you are talking about ANT_HOME:
    see this Screenshot which shows my current settings
    [http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
    Regards
    -AKJ

  • Calling AXIS Web Service from a Weblogic Client

    Hi All,
    I am trying to generate a weblogic Web Service cliente (jar) to call an AXIS Web Service. I am using the weblogic ant task <b>clientgen</b> to generate the stubs/classes from WSDL of the AXIS Web Service.
    It creates the the jar but when I try to call the web service it gives the following error:
    <pre>
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXException: No deserializer defined for array type {http://xml.apache.org/xml-soap}MapItem; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXException: No deserializer defined for array type {http://xml.apache.org/xml-soap}MapItem
    javax.xml.rpc.soap.SOAPFaultException: org.xml.sax.SAXException: No deserializer defined for array type {http://xml.apache.org/xml-soap}MapItem
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:498)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:360)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:244)
         at sample.ProxyService_Stub.genericMethod(Unknown Source)
         at com.orange.few.webservice.test.TestSuiteFijo.testFijo(TestSuiteFijo.java:41)
         at java.lang.reflect.Method.invoke(Native Method)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    </pre>
    It says that it can´t find the deserializer for the defined array type {http://xml.apache.org/xml-soap}MapItem;
    But in the jar it creates the following clasese:
    <pre>
    org.apache.xml.xml.soap.MapItem
    org.apache.xml.xml.soap.MapItemCodec
    org.apache.xml.xml.soap.MapItemSequenceCodec
    org.apache.xml.xml.soap.holders.MapHolder
    org.apache.xml.xml.soap.holders.MapItemHolder
    </pre>
    and in the mapping file I see the folowing entry:
    <pre>
    <type-mapping-entry deserializer="org.apache.xml.xml.soap.MapSequenceCodec" class-name="org.apache.xml.xml.soap.MapItem[]" xmlns:p3="http://xml.apache.org/xml-soap" type="p3:Map" serializer="org.apache.xml.xml.soap.MapSequenceCodec">
    </type-mapping-entry>
    <type-mapping-entry deserializer="org.apache.xml.xml.soap.MapItemCodec" class-name="org.apache.xml.xml.soap.MapItem" xmlns:p4="http://xml.apache.org/xml-soap" type="p4:MapItem" serializer="org.apache.xml.xml.soap.MapItemCodec">
    </type-mapping-entry>
    </pre>
    Any help would be greatly appreciated,
    Gerardo
    Enviornment:
    Weblogic
    ========
    Weblogic Server: 7.0 SP 4
    OS: Sun Solaris 8
    JDK: 1.3
    AXIS
    ========
    AXIS Version: 1.4
    Container: Tomcat
    OS: Sun Solaris 8
    JDK: 1.4

    Hi Sebastien,
    The wsclient sample loads only a minimal set of SOAP and related jar files to the database required to get the sample working. The SSL related classes may not get resolved correctly, but as the sample does not use these,
    you should still be able to proceed with the setup.
    Can you continue with the configuration steps and let me know if you still face any problems in bringing up the application ?
    HTH
    Sujatha.
    OTN Group.

  • Call a RESTful web service from an AS3/AIR application

    Hi all,
    Is there a good way to call a REST web service on a Spring application from a pure actionscript air4android application?
    I know it is easy from flex ( almost TOO easy) but I have still to figure out an easy way of doing it with a pure AS3 application.
    regards,
    /Lars

    Just use the URLLoader class.

  • Calling an external web service from a session bean

    We're integrating our Weblogic EJB application with a third party JBoss-based product that exposes a web service API. I thought that Weblogic should have all of the libraries available that I would need in order to make this connection. However, when I bundle the web service client jar and attempt to call the web service from within Weblogic, I get:
    java.lang.NoClassDefFoundError: com/sun/xml/rpc/client/BasicService
    If I bundle jaxrpc-api, jaxrpc-impl, and jaxrpc-spi in the EAR, I instead get:
    java.lang.IncompatibleClassChangeError at com.sun.xml.rpc.streaming.XmlTreeWriter.addNewNode(XmlTreeWriter.java:102)
    ...which isn't any better, and makes me think there's a competing jaxrpc somewhere.
    What am I doing wrong?

    Hello,
    Can you indicate the classpath that you use to run your client, version of weblogic and the version of jaxrpc api that you are using.
    As a quick experiment adding the jaxrpc jar files to your classpath one at a time.
    This [url http://www.javaworld.com/javaforums/showflat.php?Cat=&Board=Enterprisejava&Number=3801&page=12&view=collapsed&sb=9&o=&fpart=1]chap seemed to have a similar problem to you and solved it by adding the jaxprc-spi jar file to his class path. It may be that the jaxrpc-impl is causing you greif.
    Also see this thread:
    http://forums.bea.com/bea/message.jspa?messageID=200612003&tstart=0
    Hussein Badakhchani
    www.orbism.com

  • Call web service from apex

    Hi,
    I am working with apex 3.2 and I want to call web services from a page in application in apex.
    and I do not have any idea about this topic,
    any body can help me in this ??
    Thanks and best regards.
    Mohd.

    Hi,
    I have for example this web service
    (https://www.eclaimexpress.com/KEHClinics/TestCodingAlerts.asp?CMD=CROSSCODING&TYPE=CPT&TERM=icd9v1&CODE=13100), this link will return me xml as following
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <links>
    <link href="/ws/codetype/icd9v1/172.5">172.5</link>
    <link href="/ws/codetype/icd9v1/173.5">173.5</link>
    <link href="/ws/codetype/icd9v1/198.2">198.2</link>
    <link href="/ws/codetype/icd9v1/209.35">209.35</link>
    <link href="/ws/codetype/icd9v1/209.75">209.75</link>
    <link href="/ws/codetype/icd9v1/214.1">214.1</link>
    <link href="/ws/codetype/icd9v1/216.5">216.5</link>
    <link href="/ws/codetype/icd9v1/228.01">228.01</link>
    <link href="/ws/codetype/icd9v1/232.5">232.5</link>
    <link href="/ws/codetype/icd9v1/238.2">238.2</link>
    <link href="/ws/codetype/icd9v1/448.1">448.1</link>
    <link href="/ws/codetype/icd9v1/686.1">686.1</link>
    <link href="/ws/codetype/icd9v1/701.1">701.1</link>
    <link href="/ws/codetype/icd9v1/701.4">701.4</link>
    <link href="/ws/codetype/icd9v1/701.5">701.5</link>
    <link href="/ws/codetype/icd9v1/702.11">702.11</link>
    <link href="/ws/codetype/icd9v1/702.19">702.19</link>
    <link href="/ws/codetype/icd9v1/706.2">706.2</link>
    <link href="/ws/codetype/icd9v1/709.1">709.1</link>
    <link href="/ws/codetype/icd9v1/709.2">709.2</link>
    <link href="/ws/codetype/icd9v1/709.4">709.4</link>
    <link href="/ws/codetype/icd9v1/757.32">757.32</link>
    <link href="/ws/codetype/icd9v1/875.0">875.0</link>
    <link href="/ws/codetype/icd9v1/875.1">875.1</link>
    <link href="/ws/codetype/icd9v1/877.0">877.0</link>
    <link href="/ws/codetype/icd9v1/877.1">877.1</link>
    <link href="/ws/codetype/icd9v1/879.0">879.0</link>
    <link href="/ws/codetype/icd9v1/879.1">879.1</link>
    <link href="/ws/codetype/icd9v1/879.2">879.2</link>
    <link href="/ws/codetype/icd9v1/879.3">879.3</link>
    <link href="/ws/codetype/icd9v1/879.4">879.4</link>
    <link href="/ws/codetype/icd9v1/879.5">879.5</link>
    <link href="/ws/codetype/icd9v1/879.6">879.6</link>
    <link href="/ws/codetype/icd9v1/879.7">879.7</link>
    <link href="/ws/codetype/icd9v1/879.8">879.8</link>
    <link href="/ws/codetype/icd9v1/879.9">879.9</link>
    <link href="/ws/codetype/icd9v1/880.00">880.00</link>
    <link href="/ws/codetype/icd9v1/880.01">880.01</link>
    <link href="/ws/codetype/icd9v1/880.09">880.09</link>
    <link href="/ws/codetype/icd9v1/880.10">880.10</link>
    <link href="/ws/codetype/icd9v1/880.11">880.11</link>
    <link href="/ws/codetype/icd9v1/880.19">880.19</link>
    <link href="/ws/codetype/icd9v1/906.0">906.0</link>
    </links>
    So now how can I call it in apex , and how can I return the results in report.??
    Regards.
    Mohd.

  • Web Service From Java class, serialization problem

    Hi,
    I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
    My class have 2 methods,
    public int add(int a, int b);
    public MyResponse doSomthing(MyRequest req);
    I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
    <b>
    Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
    </b>
    Any ideas how to resolve it?
    P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
    Thanks in advance,
    Victor.

    Hi Bhavik, thanks for response.
    as I already mentioned it implements Serializable, so it is not the problem.
    Thanks Avi but it didn't helps iether
    Victor

  • Unable to invoke WebLogic 8.1 sp2 web service from a java proxy client...

    I am not able to invoke a web service deployed on WebLogic 8.1 SP2 via a client using the proxy jar provided by WebLogic's JWS > Overview > Generate Java Proxy tool.
    I am getting a java.net.ConnectException.
    Both the client and the WebService are on the same server.
    Thanks!!
    Inder./

    Please see the instructions below. If this does not help, please open a case with customer support and tell them it may be related to CR235479
    DESCRIPTION:
    When a platform domain is created, the admin server can be started without
    any issues and a managed server can also be started without any errors if
    using startManagedWebLogic.sh. But when a managed server is started using the
    nodemanager, the managed server fails to start with the following error.
    The WebLogic Server did not start up properly.
    java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
    (Complete stack trace with be added as a note)
    The reason for this is that:
    startWebLogic.sh(cmd) and startManagedWebLogic.sh(cmd) for platform domains
    call <User domain>/setDomainEnv.sh which includes all the jars necessary for
    a platform domain in the CLASSPATH.
    Whereas startNodeManager.sh calls <WL_HOME>/common/bin/commEnv.sh, which is
    the same for both platform and server installations of weblogic and has only
    weblogic.jar in the CLASSPATH.
    Looking at historical cases, the steps to start NodeManager successfully in a
    platform domain are:
    1.
    a. Copy admin server classpath (from <user Domain>/startWebLogic.sh) to
    that of all managed servers in the 'Remote Start' tab of the WLS Console
    OR
    b. Copy admin server classpath to <WL_HOME>/server/bin/startNodeManager.sh
    (If the same nodemanager is used to manage server domain servers and platform
    domain servers, will there be any issue with this approach??)
    2. Copy the wsrpKeystore.jks file from your domain directory to the
    nodemanager directory (the parent of the directory where all the server
    directories are replicated in the node manager. By default: <WL
    HOME>/common/nodemanager)
    But these steps are not publicly documented in edocs.
    CONFIGURATION:
    Weblogic Platform Domain 8.1 (all service packs)
    WORKAROUND:
    Steps 1 and 2 above.

  • Invoking a web service from dynamic client in weblogic 7

    Is it possible to invoke a webservice from dynamic client in weblogic 7. Because i tried and it doesn't work. But it works with WL 8.1
    I don't see any samples on the net for weblogic 7.

    Hello rss,
    If you want to invoke a web service from a JCD you will have to build the SOAP message using JAX-RPC or AXIS and then programmatically creat an HTTP connection.
    Or you can leverage the HTTP(S) eWay and then you only have to build the SOAP message.
    Or use eInsight. You can import a WSDL into eInsight and eInsight will offer you a business process Activity to invoke the web service operations defined in the WSDL.

  • Is it possible to invoke external REST web service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4)

    Is it possible to invoke an external REST web-service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4) with parameters as input and manipulating the response depending on the type of parameters it gets back. Then invoking an Adobe Form and prepopulating the Form based on the response parameters? Do you have sample projects that do this invocation. The part highlighted in red is what I need examples.

    You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
    http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
    http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
    Hope this helps.
    -Wasil

  • Is there a way to call web service from 2 servers??

    Hi,
    I need to know if its possible to call web service from 2 different servers without having load balancer??? I mean, if one of the server has heavy work on, then it should call web service from the other server.
    Thanks in advance.
    Best Regards.

    Hi,
    WebLogic Cluster has this feature ( Load Balancing & Failover ). If you will deploy your WebService to a WebLogic Cluster and then If you will put a Proxy in front of it like (Apache)...Then it is Possible.
    <h3><font color=maroon>What All You Need To Do ? ...... as following</font></h3>
    <b><font color=maroon>Step1).</font></b> Create a WebLogic Cluster (minimum two ManagedServers)
    http://weblogic-wonders.com/weblogic/2010/04/28/weblogic-clustering-in-remote-boxes/
    <b><font color=maroon>Step2).</font></b> Install a Proxy like Apache in frot of them like following:
    http://weblogic-wonders.com/weblogic/2010/05/13/apache-proxy-as-static-content-repository/
    Or
    http://weblogic-wonders.com/weblogic/2010/08/01/weblogic-httpclusterservlet-proxyserver/
    <b><font color=maroon>Step3).</font></b> Now Configure a FrontEnd Host for your Cluster by providing the ProxyServer Host name as the FrontEnd of your Cluster. This step is required to Generate the Dynamic WSDL with the Address of the Frontend.(Not of a perticular WebLogic Server)
    http://weblogic-wonders.com/weblogic/2010/06/21/configuring-frontend-host-and-port/
    <b><font color=maroon>Step4).</font></b> Deploy your WebService on the Cluster
    <b><font color=maroon>Step5).</font></b> Now Hit the WebService using the Proxy URL:
    Example:
    http://ProxyHostname:proxyPort/ServiceContextRoot/ServiceURI?WSDL
    Thanks
    Jay SenSharma

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

  • Issue in calling web service from SoapUI 4.0.0 to Oracle web logic server10

    Hi All,
    I am trying to call a web service from soapUI 4.0.0 to Oracle Web logic server 10.3 in which primavera p6 war file is deployed..
    getting an error::*this class does not support saaj 1.3*
    setting the following system property in the Weblogic startup script:
    -Djavax.xml.soap.MessageFactory=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl does not work..
    setting the following system property in the Weblogic startup script:
    -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl
    even does not work..
    how to resolve this error,plz help me its urgent..

    Have you tried submitting your help request on the SmartBear soapUI forum?
    http://www.eviware.com/forum/viewforum.php?f=5
    Or if a soapUI Pro user:
    http://www.eviware.com/forum/viewforum.php?f=2
    Best,
    Alex

Maybe you are looking for

  • How do I import a PDF document to Word?

    How do I import a PDF document to a word document?

  • Uploading a file to server using ajax and struts

    My problem is i wrote a program to upload a file to the server using Ajax. Here iam used Struts and Ajax. The problem is when iam uploaded a file from my PC the file is uploading to the server in the upload folder located in the server my system. Iam

  • [FlexPMD] flexpmd.html report created with zero bytes [Plz help]

    hi folks, initially i integrated FlexPMD with Maven. when i tried to build it creates the following: two folders: * CSS --- contains css files * Images --- contains image files two files: flexpmd.html -- created with zero bytes pmd.xml -- it lists th

  • Daughter's Ipod touch need apple id's?

    We just gave our two daughters' iPod Touches.  I have an iPhone 4 and an already established e:mail and Apple ID.  Do we need unique e:mail's and Apple ID's for each of their iPod Touches in order to use Facetime, or can they use mine?

  • Chinese language support

    Hi, I'm a new Mac user. I'm having trouble reading simplified and traditional Chinese characters using both Safari and Firefox. I also am not sure the overall Chinese input system on the Mac. I've enabled it and can change into that "mode" to write p