How to generate web services for OAS with wsdl extension

Hi,
I wanted to know how to generate web services from Oracle Application Server especially with .wsdl extension and with document/literal style.
I know that earlier there was a tool called SmartConnect from BEA WebLogic.
But that will work only with ALSB (Aqua logic Service Bus). I guess that ALSB has been renamed as Oracle Service Bus by Oracle after the acquisition of WebLogic. My question is what is the new name for the SmartConnect Tool from WebLogic, which generates wsdl very easily from Oracle database.
I am unable to know the new name for SmartConnect and how to download that tool from Oracle web site.
Also, I want to know, whether there is any other way to generate the wsdl from Oracle, if so, please let me know.
Regards
Raman

Hi Jeethandra,
Please refere to the below link might be some help.
[http://help.sap.com/saphelp_mdmgds55/helpdata/en/45/069152856241e1e10000000a1553f6/frameset.htm]
regards
shankar

Similar Messages

  • How to generate web services for MDM Taxanomy Tables?

    Hi Experts,
    I have a Taxonomy table called eClass in material repository which contains the Hierarchical data. The data[Attributes of this table ] can be seen only in Taxonomy Mode, I want to generate the web service using MDM Web Service Generator. The service should perform the CRUD operation over this table and retrieve the attributes. I generated the service for this table but I am not able to retrieve the attributes. Please help me out for this situations. Any pointers regarding this will be appreciated.
    Thanks & Regards
    Jeetendra

    Hi Jeethandra,
    Please refere to the below link might be some help.
    [http://help.sap.com/saphelp_mdmgds55/helpdata/en/45/069152856241e1e10000000a1553f6/frameset.htm]
    regards
    shankar

  • How to create web service for database application

    Hi everyone
    Is it possible to create a web service for an apex database application page which has reports and radio fields and dialog boxes and validations in it. IF it is possible to create, pls help me with example or step by step procedure. I have seen all oracle docs of implementation of Web services in apex but unable to figure out how to get that link of wsdl for an application.
    Thanks in advance.
    Regards
    Sandeep Artham

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • How can a web service  be compliant with the WTK2.1?

    I'm using WTK2.1 to develop mobile clients consuming web services.
    After published a web service by Apache Axis, I use WTK2.1's Stub Generator to
    generate the stub class.
    As required by JSR172, I use the "document/literal" encoding style.
    The web service class has only one method:
    public int newUser(String userName, String password) {
    But when I use Stub Generator to generator the stub class, I get the following messages:
    ************************ Error messages begin *****************************
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "newUser"
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "newUser"
    warning: ignoring operation "newUser": more than one part in input message
    warning: Port "User" does not contain any usable operations
    ************************ Error messages end *****************************
    And following is the wsdl file:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://localhost:8080/web/services/User" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/web/services/User" xmlns:intf="http://localhost:8080/web/services/User" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://ws.mauction.scucdut.edu.cn" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="http://ws.mauction.scucdut.edu.cn" xmlns="http://www.w3.org/2001/XMLSchema"><element name="userName" type="xsd:string"/><element name="password" type="xsd:string"/></schema><schema targetNamespace="http://localhost:8080/web/services/User" xmlns="http://www.w3.org/2001/XMLSchema"><element name="newUserReturn" type="xsd:int"/></schema></wsdl:types>
    <wsdl:message name="newUserRequest">
    <wsdl:part element="tns1:userName" name="userName"/>
    <wsdl:part element="tns1:password" name="password"/>
    </wsdl:message>
    <wsdl:message name="newUserResponse">
    <wsdl:part element="impl:newUserReturn" name="newUserReturn"/>
    </wsdl:message>
    <wsdl:portType name="User">
    <wsdl:operation name="newUser" parameterOrder="userName password">
    <wsdl:input message="impl:newUserRequest" name="newUserRequest"/>
    <wsdl:output message="impl:newUserResponse" name="newUserResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="UserSoapBinding" type="impl:User">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="newUser">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="newUserRequest">
    <wsdlsoap:body namespace="http://ws.mauction.scucdut.edu.cn" use="literal"/>
    </wsdl:input>
    <wsdl:output name="newUserResponse">
    <wsdlsoap:body namespace="http://localhost:8080/web/services/User" use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="UserService">
    <wsdl:port binding="impl:UserSoapBinding" name="User">
    <wsdlsoap:address location="http://localhost:8080/web/services/User"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    So, can anybody tell me how to make the web service be used by the Stub Generator properly?

    Hi,
    I am new to WTK 2.1 and I am also using Axis to generate WSDL.
    one thing I figured out was to remove the namespace info behind all body tags.
    for instance in your code, replace:
    <wsdlsoap:body namespace="http://localhost:8080/web/services/User" use="literal"/>
    by
    <wsdlsoap:body use="literal"/>
    and it should work. don't ask me why but it worked for me.

  • Create a Web Service for Exchange with form based authentication ?

    I want to create a Web Service in Apex that can create appointments in my exchange calendar. Exchange is offering web services for that.
    When i try to create the web service reference in Apex i provide the URL and my Exchange login, but it is failing.
    The exchange guys told me, that there is a ISA Server running where i need to authenticate through a form.
    Does anyone know, how i can implement a webservice in Apex, when the access to the wsdl url needs login through a form ?
    Or : what other types of authentication does Apex know ? What possibilities do i have ?
    Thanks for answers.
    Bernd

    Hi
    Presume you've already found this information, but in case not ....
    Exchange 2007 provides out of the box web services, see
    http://msdn.microsoft.com/en-us/library/bb408417.aspx
    As a disclaimer - neither myself of the team I work with have tried to use these web services within APEX.
    Regards
    Chris

  • JDev: Generating Web Services for Streaming Attachments

    Hi,
    I am a newbie in this field. I am trying to generate web service code using JDev (10.1.3.3). I have an interface class and the implementation class. When I am trying to generate J2EE Web Service for the implementation class, I am getting the following error:
    "The selected class doesn't contain any public method publishable in a web service".
    Following is my code:
    Interface:
    package testing;
    import oracle.webservices.attachments.Attachments;
    public interface ImageStore extends java.rmi.Remote {
    public void storeImage (String name, String desc, Attachments attachments) throws java.rmi.RemoteException;
    Impl:
    package testing;
    import java.io.InputStream;
    import javax.activation.DataHandler;
    import oracle.webservices.attachments.Attachment;
    import oracle.webservices.attachments.Attachments;
    import oracle.webservices.attachments.IncomingAttachments;
    public class ImageStoreImpl {
    public static String storeImage(String name, String desc, Attachments attachments) throws Exception {
    IncomingAttachments incomingAtts = attachments.getIncomingAttachments();
    if (incomingAtts == null || !incomingAtts.hasNextAttachment())
    throw new Exception("Expected request attachments");
    Attachment imageAtt = incomingAtts.nextAttachment();
    String id = imageAtt.getId();
    DataHandler dataHandler = imageAtt.getDataHandler();
    InputStream imageStream = dataHandler.getInputStream();
    //-- Store image metadata and stream image bytes
    if (incomingAtts.hasNextAttachment())
    throw new Exception("Expected only one attachment");
    return "success";
    Can someone please let me know how can I generate the web service for this code using JDev.
    Thanks,
    J

    Hi J,
    Why is the concrete class not implementing the ImageStore interface? Anyways, I believe the ImageStoreImpl#storeImage method cannot be static if you want to generate a WS.
    Furthermore, you should consider posting your question in the JDev 10G (JDeveloper and ADF forum as this one is for 11G.
    Olivier

  • JDev: Generating Web Services for Streaming Attachment

    Hi,
    I am a newbie in this field. I am trying to generate web service code using JDev (10.1.3.3). I have an interface class and the implementation class. When I am trying to generate J2EE Web Service for the implementation class, I am getting the following error:
    "The selected class doesn't contain any public method publishable in a web service".
    Following is my code:
    Interface:
    package testing;
    import oracle.webservices.attachments.Attachments;
    public interface ImageStore extends java.rmi.Remote {
    public void storeImage (String name, String desc, Attachments attachments) throws java.rmi.RemoteException;
    Impl:
    package testing;
    import java.io.InputStream;
    import javax.activation.DataHandler;
    import oracle.webservices.attachments.Attachment;
    import oracle.webservices.attachments.Attachments;
    import oracle.webservices.attachments.IncomingAttachments;
    public class ImageStoreImpl {
    public static String storeImage(String name, String desc, Attachments attachments) throws Exception {
    IncomingAttachments incomingAtts = attachments.getIncomingAttachments();
    if (incomingAtts == null || !incomingAtts.hasNextAttachment())
    throw new Exception("Expected request attachments");
    Attachment imageAtt = incomingAtts.nextAttachment();
    String id = imageAtt.getId();
    DataHandler dataHandler = imageAtt.getDataHandler();
    InputStream imageStream = dataHandler.getInputStream();
    //-- Store image metadata and stream image bytes
    if (incomingAtts.hasNextAttachment())
    throw new Exception("Expected only one attachment");
    return "success";
    Can someone please let me know how can I generate the web service for this code using JDev.
    Thanks,
    J

    Can anyone please help me -- I am really stuck.
    Thanks,
    J

  • How to Create web service using JMS with PUB/SUB pattern.

    Hi All,
    I need to expose web service using JMS with PUB/SUB pattern.
    if you have any source for this.
    I tried to use @WLJmsTransport annotation but unable to get it done.
    I have configured all JMS server, topic, and connection factory.
    Thanks.

    Hi, I am having web sample web service program which is simple one.
    But I need to Modify this to JMS enable.
    Can any one help me?
    Thanks.

  • How to enable Web services for CP 1525nw

    Hi,
    I am unable to use ePrint for LaserJet CP 1525nw. Printer connected over WiFi. Tried to Enable Web services and saw the message "Connection error Check connection". Firmware is up-to-date. Use the printer in different applications on PC, iPad and iPhone. Everything is working well not ePrint. HP diagnostics did not describe any problems.

    Hello Prophet097,
    Setting manual network information may help the enabling of Web Services for ePrint on your printer.
    To do so:
    On the printer's control panel, press "OK" two times to access the reports menu.
    Press the right arrow to select "Network Summary" and press "OK" to print the report.
    Open an internet browser on a computer within the same network as the printer.
    In the address bar, type the printer's "IPv4 Address" and press "Enter", this should take you to a page about your printer.
    Click on the "Network" tab at the top of the page.
    Click on "IPv4 Configuration" on the left-hand side.
    Click the bubble to the left of "Manual" to allow you to input manual settings.
    Input the same information from the "Network Summary" into the fields for "IP Address", "Subnet Mask", and "Default Gateway".
    Note- None of those fields should be "0.0.0.0"0 or "169.254.xx.xx". If they are, there maybe network issues with the printer.
    In the "Preferred DNS Server" and "Alternate DNS Server", this could vary by the size of your network.
    -Preferred DNS Server- If you are on a small network, input the same value as the "Default Gateway".
    -Alternate DNS Server- If you are on a small network, input either "0.0.0.0" or "8.8.8.8."
    Note- If you are on a domain, you may have specific DNS Server information that needs to be in the fields. 
    Click "Apply" on the page.
    Power the printer off and then on.
    Try to enable Web Services again.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • How to create Web Service based on PI WSDL message

    Hi all,
    we have following scenario:
    Within PI (version 7.1) we set up a message type and inbound service interface. This service interface should send the PI message to a web service running on a SAP J2EE (version 7.01). As the PI message is sent as WSDL I thought it should be easy to build a web service on the SAP J2EE based on this WSDL from PI.
    Unfortunately, I have problems creating the Web Service.
    For my current project we integrated the NWDI to the SAP NetWeaver Developer Studio and I'm required to add the Web Service to an existing DC (Development Component) within the NWDI.
    What I tried so far is:
    - I created a Deployable Proxy Project and within this I created a Client Proxy Definition based on the WSDL from the PI. But I can't add this Proxy to the DCs of the NWDI and I don't know how to implement my own coding here in order execute specific functions.
    - I created a new class within the NWDI DC and a public method. Based on this I created a Virtual Interface and a Web Service Definition (WSD). Then I added this to a Web Service Deployment Descriptor. I uploaded this to the SAP J2EE. But I'm not able to access this and I don't know hoe to assign the WSDL here.
    I also tried here to create a client proxy based on this WSD as I thought I might assign the WSDL here. But I don't see the WSD in the list of Web Services uploaded to the SAP J2EE...
    Can you please advice me how to create a Web Service in such an environment?
    regards
    René Jurmann

    Hi Tahir,
    sorry that you needed to wait this long - but this is how I created the web service:
    The steps on how to create the web service in NetWeaver Developer studio are nearly the same as described in the blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5838. [original link is broken] [original link is broken] [original link is broken]
    Some steps I just skipped and some others I added. Some of the steps I did the way I described it as I needed to connect the web service with the SAP PI.
    Prerequisites:
    Add Java Perspective and J2EE Development Perspective to the open perspectives.
    Within "Window - Preferences - Web Services" check "Soap extensions visible in the virtual interface editor"
    The SDM of the corresponding SAP J2EE is configured within "Window - Preferences"
    Create a Development Component (DC) with type "J2EE -> EJB Module"
    The business logic of the web service will be implemented in an Enterprise Java Bean (EJB). So first the EJB component must be created:
         Choose "File -> New -> Other"
         In opening PopUp choose "Development Component -> Development Component Project"
         Select the Software Component for which you want to add the DC (e.g. "Local Development -> MyComponents")
         Choose now vendor, name and type:
              vendor is an alpha-numeric string of 20 characters starting with a letter - all in lower case
              name is an alpha-numeric string starting with a letter - all in lower case
              vendor and name concatenated must not be longer then 40 characters
              the name can be separated into different part using "/" as separator
              each part of the name must not be longer than 8 characters
              the type is "J2EE - EJB Module"
              you can specify a Caption as general description for the web service
    Create new EJB
    To create the EJB itself:
         In J2EE DC Explorer of J2EE Development Perspective expand new DC and right-click on folder "ejbModule"
         Choose "New - EJB" with following details:
              EJB Name: <name as for PI service Interface to be created - starting in upper case>
              EJB Project: <pre selected>
              Bean Type: Stateless Session Bean
              Default EJB Package: <corresponds to namespace in PI>
              generate default interfaces: Checked
    Regarding the "Default EJB Package" this should be created according the namespace in PI for which all PI objects will be created. This only applies if you have some naming conventions here.
    Example:
    Namespace in PI is:  http://company.net/pi/SOFTWARE_COMP/Application
    The corresponding package then is: net.company.pi.software_comp.application
    Implement coding for web service
    As the web service will be called via PI some transfer variables will be submitted. Most likely, those variables will not be standard type (e.g. String) but a complex type. Those types must be generated as Java classes. Below an example of a complex type I needed:
    Data Type
    net.company.pi.software_comp.application.types.MessageProcessingInformation
    Structure:
         Element name          Element type
         sendingSystemID          String
         interfaceID               String
         businessProcessVariantCode     String
         testIndicator               Boolean
    For every element described a public "get", "set" and "has" method must be created in the corresponding Java class:
    package net.company.pi.software_comp.application.types;
    import java.io.Serializable;
    public class MessageProcessingInformation implements Serializable {
         protected String sendingSystemID;
         protected String interfaceID;
         protected String businessProcessVariantCode;
         protected Boolean testIndicator;
         public String getSendingSystemID() {
              return sendingSystemID;
         public void setSendingSystemID(String value) {
              this.sendingSystemID = value;
         public boolean hasSendingSystemID() {
              if(sendingSystemID != null && !sendingSystemID.equals("")){
                   return true;
              return false;
    All Java classes representing complex types and all classes referenced here (used for sub-types) must implement java.io.Serializable. Java standard types which do not implement this class must not be used as sub-types.
    As soon as all data types are declared the real business logic can be implemented:
         In J2EE DC Explorer of J2EE Development Perspective expand DC - "ejb-jar.xml" - <Name> and double click on "ejbCreate"
         In detail view select folder "Business Methods" and click "Add"
         choose name of business method - this should be the same as the PI message type used for the service interface - starting lower case
         return type should be "void"
         add needed parameters fully qualified - including package (as specified in PI and created previously in DC)
         you can mark certain parameters as array if necessary
    Remark:
    It might be that after saving you get an error. This might be as the package name of one component is copied to the corresponding Java class at the very beginning (before the package declaration within the Java class). Simply delete the string here.
    It also might be, that the new business method is only defined in the remote interface class but not in the bean class. Just create an according method in the bean class.
    Within the newly created business method within the bean class you can now implement the business logic.
    Create a DC with type "J2EE -> Enterprise Application"
    In order to create the "real" web service and deploy it to the J2EE an Enterprise Application project has to be created. So create a new DC as for the EJB Module but choose as type "J2EE -> Enterprise Application".
    After the DC is created right click on the EJB DC and choose "Add to EAR Project". Choose the new DC.
    Create web service for EJB
    As soon as you implemented the business logic you can create the "real" web service. Therefore:
         Right click on the EJB name below "ejb-jar.xml"
         Choose "New - Web Service"
         Choose proper "Web Service Name" and "Configuration Name" (probably oriented at the EJB name)
         Copy the URL of the web service - you'll need it later for PI configuration
         on the second next screen use the same name for "Virtual Interface" and "Web Service Definition" (the name should be the name of the "Endpoint")
         the "EAR Project" should be preselected
    Unfortunately, the web service can't be used in its current configuration to be accessed by PI. Therefore the Virtual Interface must be changed. To do so, expand folder "Virtual Interfaces" and double click the virtual interface created.
    Within the detail view expand in tabs "Mapping" and "Types" the complete folder structure. For any "SOAP Extension" where a namespace can be defined use as namespace the corresponding namespace in PI (e.g. http://corpintra.net/pi/CBFC_GLOBAL_SAP_APPL/BillerDirect) but do not change any "Soap Extension" of a standard Java type. (if you don't have any naming convetions for namespaces in PI you can leave the SOAP Extension here. But then the namespace in PI should be set accordingly.)
    Probably it can be necessary on top level "Soap Extensions" in tab "Mapping" to leave "Use Namespaces for Parameters" unchecked. For some of my web services this parameter must be checked for others not - just try.
    If you can define a "New Name", "Local Name" or "Item Label" for a Soap Extension then use a name with starting upper case letter. (For Java Naming conventions most of the data type names will start with lower case letters.) Especially the method name must be renamed this way in order to stick to the PI namings.
    As a last point to change here check in tab "Mapping" all "Incoming Parameters" which you specified as array. Use for those as "New Name" a different name - do not just simply change from lower case to upper case. This is necessary as on PI we need to create two levels although here only one is specified.
    For any own sub-type declared as array the name within the coding should also differ from the corresponding Java Class name the type refers to.
    If all this is done you can deploy the web service to the J2EE:
         right click on "Enterprise Application" DC and choose "Development Component - Build..." and build all corresponding components
         right click on "Enterprise Application" DC and choose "Development Component - Deploy"
    Test the new web service via <J2EE URL>/wsnavigator/enterwsdl.html
    Create PI interface
    After the web service is created successfully the PI integration can be started.
    Therefore, within the Enterprise Services Builder create a data type according to the web service definition. All components defined on top-level for this data type should be declared as incoming parameter for the web service business method. Therefore it could be necessary to create some sub data types on PI first and add those to the "master" data type.
    Ensure that the names of the components correspond to the names defined in the web service (see virtual interface here). Those names must exactly be the same - including lower/upper case. Also take care for the ordering of the components.
    In case you need to include arrays following applies:
    The upper level is of occurrence "1:1". This has only one sub-entry with occurrence "1:n". The names for upper and sub-level must not equal.
    Based on the data type a message type is created. The name of the message type must be exactly the same as the name of the web service business method. (Hint: the name of the web service business method was most likely changed in the virtual interface. Then this name must correspond to the message type name.) Based on the message type an asynchronous inbound interface is to be created (which will be referred in the Integration Directory). The operation name for this interface (left panel) should be the same as the name for the web service business method.
    Create PI mappings and routings
    How to map (message mapping and operation mapping) from source to the web service message I wont explain here as this depends on the source message. The only important things here are:
         When creating the SOAP communication channel within the Integration Builder the "Target URL" is:
              <J2EE URL>/<Access URL as specified in web service creation>?wsdl&style=document
         The soap action is the name of the web service business method.
         Most likely the web service needs authentication to be executed.

  • How to generate web svc data control from WSDL in 10.1.3 to secure web svc

    When I try to connect to web service via https, I get the error:
    WARNING: Unable to connect to URL: https://remove.site.com/service
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException:
    Message send failed: javax.net.ssl.SSLException: SSL handshake failed:
    X509CertChainIncompleteErr Exceptionjava.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException:
    Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    Process exited with exit code 0.
    There does appear to be this dependency on Oracle Wallet, which I saw when I set:
    System.setProperty("HTTPClient.log.level","1");
    which showed Using Wallet:
    and nothing after it.
    AFTER I set:
    System.setProperty("javax.net.ssl.Keystore", "f:\ewallet.p12");
    System.setProperty("javax.net.ssl.KeyStorePassword","mywallet12");
    I saw the "wallet" being used, but still ended up with the same error. I'm only trying to use the "test client" that the web service "generate web service proxy" produces.
    The stack trace was:
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
         at model.runtime.ProcessOrderBinding_Stub.processOrder(ProcessOrderBinding_Stub.java:95)
         at model.ProcessOrderPortClient.processOrder(ProcessOrderPortClient.java:177)
         at model.ProcessOrderPortClient.main(ProcessOrderPortClient.java:143)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
         at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:120)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
         at model.runtime.ProcessOrderBinding_Stub.processOrder(ProcessOrderBinding_Stub.java:78)
         ... 2 moreIronically, the same certificates that I loaded into the java keystore using Keytool and 10.1.2 connect to the same service without an error, using the notes as described here:
    http://andrej.racchvs.com/archives/2004/04/
    and
    http://radio.weblogs.com/0132036/2004/02/13.html
    When I created the data control for the WSDL in 10.1.2 (jdev), I didn't end up with as many files and only needed to set two system properties, and change the following lines to use Apache SOAP and I could invoke the web service as a data control as well:
    1. references to OracleSOAPHTTPConnection changed to:
    SOAPHTTPConnection
    // import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import org.apache.soap.transport.http.SOAPHTTPConnection;
    2. comment out:
    setTransportProperties
    getTransportProperties
    How can you connect to a remote web service using HTTPS with JDeveloper 10g and use the Oracle wallet?
    Can someone provide specific steps to get it working based on having a WSDL file to start with?
    Thanks!

    Hello,
    I have the same problem. I am trying to consume a CRM On Demand's Web Service from JDeveloper 10 g (version 10.1.3).
    The main method from my Client is:
    System.setProperty("HTTPClient.log.level","1");
    System.setProperty("javax.net.ssl.Keystore", "C:\\jdevstudio1013\\jdk\\jre\\lib\\security");
    System.setProperty("javax.net.ssl.KeyStorePassword",PASSWORD_KEYSTORE);
    crmod.DefaultClient myPort = new crmod.DefaultClient();
    ListOfContact list= new ListOfContact();
    ListOfContact outList= new ListOfContact();
    Contact[] contacts=new Contact[2];
    Contact contact=new Contact();
    // Login WS (HTTPS)
    idSesionFull=conexionWS_CRM.logon(constantes.URL,constantes.USER,constantes.PASSWORD);
    System.setProperty("javax.xml.rpc.service.endpoint.address", URL);
    System.setProperty("javax.xml.rpc.security.auth.username", USER);
    System.setProperty("javax.xml.rpc.security.auth.password", PASSWORD);
    System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", URL);
    // Add contacts
    for (int i = 0; i < contacts.length; i++) {
    contact.setContactId("WSCRM"+i);
    contact.setContactFirstName("JDeveloper"+i);
    contact.setContactLastName("prove"+i);
    contact.setCellularPhone("77777777"+i);
    contact.setExternalSystemId("1234"+i);
    contacts=contact;
    list.setContact(contacts);
    outList=myPort.contactInsert(list,"OFF");
    Contact[] results = new Contact[2];
    Contact result = new Contact();
    for (int i = 0; i < contacts.length; i++) {
    results=outList.getContact();
    System.out.println("Add contact with ID:"+results[i].getContactId()+" nom:"+results[i].getContactFirstName());
    // Logout WS (HTTPS)
    conexionWS_CRM.logoff(constantes.URL, idSesion);
    } catch (Exception ex) {
    System.out.println("error: "+ex);
    ex.printStackTrace();
    conexionWS_CRM.logoff(constantes.URL, idSesion);
    The JDeveloper's log is:
    LOGIN OK!!
    sessionString:JSESSIONID=8d928b0b231c911e83d79ff74b9eaa7795b54d784b1b.e3iRbxmNaNb0ahqLa34LbhiMe0; path=/Services; secure URL:https://secure-ausomxgfa.crmondemand.com/Services
    System.setProperty("HTTPClient.log.level","1"), print the following:
    {Thread-10} [0:50:39.15] Version: Oracle HTTPClient Version 10h
    {Thread-10} [0:50:39.46] Conn: Nagle's Algorithm is disabled
    {Thread-10} [0:50:39.46] Conn: Setting Socket Idle Timeout to 10 seconds
    {Thread-10} [0:50:39.46] Conn: Setting Maximum Authorization retries to 4
    {Thread-10} [0:50:39.62] Conn: added module HTTPClient.RetryModule
    {Thread-10} [0:50:39.93] Conn: added module HTTPClient.CookieModule
    {Thread-10} [0:50:39.93] Conn: added module HTTPClient.RedirectionModule
    {Thread-10} [0:50:39.93] Conn: added module HTTPClient.AuthorizationModule
    {Thread-10} [0:50:39.93] Conn: added module HTTPClient.DefaultModule
    {Thread-10} [0:50:39.109] Conn: added module HTTPClient.TransferEncodingModule
    {Thread-10} [0:50:39.109] Conn: added module HTTPClient.ContentMD5Module
    {Thread-10} [0:50:39.125] Conn: added module HTTPClient.ContentEncodingModule
    {Thread-10} [0:50:39.156] Conn: chunking set to true
    {Thread-10} [0:50:39.156] Conn: chunk size set to 4.096
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request method: POST
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-type : application/x-www-form-urlencoded
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) creating output stream
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: SOAPAction : "document/urn:crmondemand/ws/contact/10/2004:ContactInsert"
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-Type : text/xml; charset=UTF-8
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-Length : 1173
    {Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Connecting ...
    {Thread-10} [0:50:39.218] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
    {Thread-10} [0:50:39.453] Conn: using SSL version Oracle
    {Thread-10} [0:50:39.515] Using wallet:
    {Thread-10} [0:50:39.796] Conn:
    {Thread-10} [0:50:39.796] Conn: Retrying request
    {Thread-10} [0:50:39.796] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
    {Thread-10} [0:50:40.31] Using wallet:
    {Thread-10} [0:50:40.265] Conn:
    {Thread-10} [0:50:40.265] Conn: Retrying request
    {Thread-10} [0:50:40.265] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
    {Thread-10} [0:50:40.500] Using wallet:
    {Thread-10} [0:50:40.734] Conn:
    {Thread-10} [0:50:40.734] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Disconnecting ...
    Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    error: java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
         at crmod.runtime.Default_Binding_Stub.contactInsert(Default_Binding_Stub.java:506)
         at crmod.DefaultClient.contactInsert(DefaultClient.java:210)
         at crmod.DefaultClient.main(DefaultClient.java:138)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
         at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at crmod.runtime.Default_Binding_Stub.contactInsert(Default_Binding_Stub.java:490)
         ... 2 more
    Process exited with exit code 0.
    And I am working without Proxy Server.
    The steps I have done to obtain the keystore are:
    1) Obtain the certificate from https://secure-ausomxgfa.crmondemand.com/Services/Integration and save as .cer
    2) With this certificate I have generated the keystore:
    C:\jdevstudio1013\jdk\jre\bin keytool -import -v -f DIR_CERTIFICATE_DOWNLOADED -keystore server.keystore -keypass PASS -storepass PASS_FROM_server.keystore
    PASS=I have put an invented password
    Any idea to solve the error? Is necessary a certificate with a keystore to connect HTTPS Web Service from JDeveloper 10g?
    Thank you an regards.
    Edited by: user2349857 on 05-nov-2009 4:18
    Edited by: user2349857 on 05-nov-2009 4:25

  • Generating Web Services bases on the WSDL interface

    Hello everybody.
    my question is.
    How can i generated all the java classes of a web services basen on a wsdl definition.
    how can i generate a simple java classe or how can i generate a ejb session, thet serve as a end point for my services
    any sugestion could be so helpfull

    The tool used to generate java class from WSDL is vender dependent, because each JAX-RPC engine is implemented differently (even they have to implement all JAX-RPC API, but low level stub call is engine dependent).
    So to generate you class from WSDL, you have to have tool first. Since all J2EE 1.4 app servers are required to have implementation of JAX-RPC API and its run time engine (but many J2EE 1.3 app servers also included JAX-RPC API and engine) , what you want to do could be to find any J2EE 1.4 app server, such as WAS or WSAD, or Sun's Application Server PE 8.1, read their examples carefull and you will find the way how to generate classes from WSDL.

  • How to enable web services for the HP envy 4500

    I am settin up my new HP ENVY 4500, have the printer working to my wireless rounter but am unable to connect to web services so I can update the printer. How do I do this?

    Hi,
    Have you activated it yet ? Looks like the setup is not right or missing, it's not connected to the internet.  Please use the following tool to run the setup:
        http://ftp.hp.com/pub/softlib/software12/COL50403/​mp-122330-1/hppiw.exe
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Re: Error while using Web services for working with Informatica workflow

    Hi All,
    I am getting below error when i am calling Informatica wokrflow using Web Services HUB.
    able to establish connection with the informatica server.
    please can any one help out me in this.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    {http://xml.apache.org/axis/}hostname:win2k3sami
    java.lang.NullPointerException
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
    at org.apache.axis.client.Call.invoke(Call.java:2504)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    Caused by: java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    ... 6 more
    Thanks in advance.
    Mahesh.

    Hi All,
    I am getting below error when i am calling Informatica wokrflow using Web Services HUB.
    able to establish connection with the informatica server.
    please can any one help out me in this.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    {http://xml.apache.org/axis/}hostname:win2k3sami
    java.lang.NullPointerException
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
    at org.apache.axis.client.Call.invoke(Call.java:2504)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    Caused by: java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    ... 6 more
    Thanks in advance.
    Mahesh.

Maybe you are looking for

  • Creating documents with SCMS_DOC_URL_CREATE in SAP Content Server

    Hi there, I have a Problem here  with the Knowledge Provider concerning SCMS_DOC_URL_CREATE and hope anyone could help me out. For a SAP Records Management document I am calling BAPI_SRM_DOC_CREATE and get a LOIO and a PHIO ID for my new document. Th

  • Textilesinfomediarydotcom Yahoo messenger do not function in firefox 6.3.3 version?

    Textiles Infomediary web site was working well upto firefox 3.5. after upgrading to 3.6.3 I am having troubles in opening the same. Finding difficulty in opening the full page. == URL of affected sites == http://www.textilesinfomediary.com

  • Assertion Error: Cannot Load Dyamically Generated Stub

    Hi Everyone, I am getting an Assertion Error in Weblogic 9.2, the root cause being a ClassNotFoundException for a dynamically-generated WL Stub for an Oracle JDBC wrapper. The partial stacktrace is as follows: ASSERTION FAILED *****[Could not find dy

  • Swing Tutorial for Java version 1.4.2

    Hi all, where the subject can be found? Current tutorial for Swing that is present on site http://java.sun.com/docs/books/tutorial/uiswing/ is for Java 6 only. I am particularly interested in filtering JTable. Thanks in advance.

  • Help!My Mac doesn't find my external hard disk

    Today when I tried to open my mac it "stuck" on the first white screen (by the way my external hard disk was already connected).So, not know what to do, I disconnected the hard disk without ejecting it first, since my computer hadn't opened yet and t