Service Unit Packaging: how is the wsdl found?

Hi,
I'm just working my way through JBI. I have the SynchronousSampleApplication running and am currently trying to fully understand it. Now I am wondering: how is the WSDL found in a service deployment unit?
Looking at the sun-http-binding.jar I find /META-INF/jbi.xml. But the main information is in the WSDL file that can be found as /SynchronousSample/SynchronousSample.wsdl. But there is no "pointer" from jbi.xml to this file. So how can the http binding component find this file during deployment? What packaging rule applies here? I couldn't find any hint in the specification. Section 6.3.4 only mentions the jbi.xml, not a word about the WSDL...
Any hint? Thanks!
Michael

We have written 4 JBI Binding Components (RSS, SIP, UDDI, and XMPP) and I can tell you how we did it which probably should be similar.
On ServiceUnitManager.deploy() the BC is given a path to the Service Unit Root Path, where is does a search for *.wsdl files. For each wsdl file he extracts the binding to determine whether or not it's his. Therefore each BC has it's own binding namespace such as for RSS it's <rss:binding> located in the <binding> section of the wsdl, where the rss namespace is http://schemas.sun.com/jbi/wsdl-extensions/rss/.
In summary, the BC will search the service unit root path for all wsdls and when he finds one that matches his specific binding he knows it's his.

Similar Messages

  • How parse the wsdl types?

    Hi, I have created a wsdl parser with the wsdl4j that return the interface of my web service. If, for example, this is a part of my wsdl file:
    <definitions name="TemperatureService"
    targetNamespace="http://www.xmethods.net/sd/TemperatureService.wsdl">
    <message name="getTempRequest">
    <part name="zipcode" type="xsd:string"/>
    </message>
    <message name="getTempResponse">
    <part name="return" type="xsd:float"/>
    </message>
    <portType name="TemperaturePortType">
    <operation name="getTemp">
    <input message="tns:getTempRequest"/>
    <output message="tns:getTempResponse"/>
    </operation>
    </portType>
    my parser return this:
    public Interface TemperatureService {
    public float getTemp(String zipcode);
    Now if I have a wsdl file more detailed in which there are an input or output message that have a complex type element, how I can return the structure of this complex type element? For example, if I have this message and this complexType:
    <types>
    <xsd:schema targetNamespace="http://www.capeclear.com/GlobalWeather.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <xsd:complexType name="Direction">
    <xsd:complexType name="Station">
    <xsd:sequence>
    <xsd:element maxOccurs="1" minOccurs="1" name="icao" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="wmo" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="iata" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="elevation" type="xsd:double"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="latitude" type="xsd:double"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="longitude" type="xsd:double"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="name" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="region" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="country" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="string" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="getStationResponse">
    <part name="return" type="xsd:Station"/>
    </message>
    how can I return this:
    class Station{
    String icao;
    String wmo;
    String iata;
    double elevation;
    The structure of the class is not important, I would obtain the internal variables (icao, wmo, iata, ...).
    Anyone can help me? Thanks!!!!
    Andrea

    Hi,
    i also have a similar problem.
    I am looking to parser which give me all parameters (and types) to given method. Best way in java vector.
    My parser give me this all information if I have simple wsdl file, but when using dificult wsdl file with this elements
    <xsd:element maxOccurs="1" minOccurs="1" name="icao" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="wmo" nillable="true" type="xsd:string"/>
    <xsd:element maxOccurs="1" minOccurs="1" name="iata" nillable="true" type="xsd:string"/>
    I getting only unparsed xml file part..
    Anybody know how resolve this problem?

  • Invoking a web service with the WSDL URL given at run time

    I have created a very Simple Web Service using Netbeans 6.0 as an EJB Module. I have successfully created clients to access the web service, both through a Composite Application and through a simple Java Desktop Application, using the create "New Web Service Client" option, either by pointing to the EJB project either by providing the WSDL URL.
    What I want now, is for the Java Desktop application to be able to consume the service after it has discovered the WSDL URL at runtime (e.g. through UDDI).
    From what I have been able to find on the web, I should use the javax.xml.ws.Service class. But when I attempt to use the getPort method I get the exception:
    "com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class mypackagename.jaxws.MyWebServiceName is not found. Have you run APT to generate them?"
    Since I know that this class is not needed for the Web Service to be accessed, when the two procedures I describe above are used, I wonder what I can do to get this to work.
    I have tried using apt from the command line but it can't find Java EE classes, so it doesn't work.
    Nikos

    Hi Yarecki,
    I'm afraid I'm also a newbie, and I'm feeling my way around things.
    I have written some code. However, you should be warned that... it doesn't work!
            String wsdlLocation;//=...some URL...
            String input;//=...XML...either SOAP message either SOAP payload
         try{
             java.net.URL wsdlURL = new java.net.URL(wsdlLocation);
                //these should be extracted from the service WSDL document
                java.lang.String serviceName = "CalculationServiceService";
                java.lang.String portName = "CalculationServicePort";
                String namespace = "http://localhost:8080/CalculationServiceService";
                javax.xml.transform.Source inputSource = new javax.xml.transform.stream.StreamSource(new java.io.StringReader(input));
                javax.xml.namespace.QName serviceQName = new javax.xml.namespace.QName(namespace, serviceName);
                javax.xml.namespace.QName portQName = new javax.xml.namespace.QName(namespace, portName);
                javax.xml.ws.Service service = javax.xml.ws.Service.create(wsdlURL, serviceQName);           
                javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
                      service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.MESSAGE);
           //javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
               //service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.PAYLOAD);
    //alternative method, with different input
                javax.xml.transform.Source replySource = dispatch.invoke(inputSource);
                javax.xml.bind.JAXBContext jc = javax.xml.bind.JAXBContext.newInstance(nikos.test.CalculationResult.class);
                javax.xml.bind.Unmarshaller unm = jc.createUnmarshaller();
                nikos.test.CalculationResult result = (nikos.test.CalculationResult)unm.unmarshal(replySource);
                System.out.println(result.getResult());
            } catch (JAXBException ex) {
                JOptionPane.showMessageDialog(this, ex);
                ex.printStackTrace();
            } catch (MalformedURLException ex) {
                ex.printStackTrace();//this should not happen.
            }In fact I'm getting a weird error
    javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
            at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
            at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
            at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
         //lines from my source code are here
    Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
            at com.sun.enterprise.security.jmac.config.PipeHelper.makeFaultResponse(PipeHelper.java:328)
            at com.sun.enterprise.security.jmac.config.PipeHelper.getFaultResponse(PipeHelper.java:366)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:223)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
            at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
            at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
            at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
            at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
            at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
            at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
            at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
            at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
            at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.NullPointerException
            at com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:163)
            at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
            ... 39 moreAs I've said before I've called this web service successfully using three different methods.
    It appears it has something to do with security issues, but I've no security at all...

  • Obtaining the WSDL and sending a message (like Web Services)

    Hi All,
    Is it possible to use a service interface defined in XI as any other web service? Consider the following scenario.
    1. Create an async service interface (outbound) in XI (This has a message mapping and the message goes to some inbound interface). 
    2. Can we write an external application (a Java swing client or something) which can send a message to this service interface?
    3. While writing a normal web services client we specify the url of the WSDL and then send a SOAP message using some APIs.
    4. Can this be achieved in XI? If so could you provide me some links or blogs etc to have some idea about this. Also how do we specify the URL of the interface.
    5. I have seen a similar application (an HTML file) which takes the XML payload (conforming to the message type of the interface) and sends the message to the interface. In this case the URL is formed from sender namespace, server name, port etc. The name of this HTML is XIHttp_adapter.html.
    6. Can somebody give me more inputs in this direction?
    Many Thanks,
    Sandeep

    Hi Sandeep,
    The Info below should surely help you find an answer.
    If you're on WAS 6.20 and up, you can expose an RFC as a webservice directly from WAS.
    Or if you’re on Basis layer 4.6D, you'll need to use XI (or some other integration tool) to expose the RFC as a webservice.
    To do this in XI you'll need to:
    Integration Repository
    1) Import the RFC
    2) Define a message and datatype for the SOAP interface
    3) Create inbound and outbound interfaces
    4) Create maps between the RFC and SOAP messages
    5) Create an interface map
    Integration Directory
    1) Create an RFC Receiver Channel
    2) Create a SOAP Sender Channel
    3) Generate the WSDL (Tools->Define Web Service)
    You can then handoff the WSDL and a login username and password to your developer and they will have everything they need to make the WS call.
    Here are answers to a few doubts u might have:
    1) Do I need to actually create a WS that calls the RFC ? Isn’t the virtual interface exposed by the XI sufficient?
    Yes, you need to create a WS in XI that calls the RFC.
    2) If I really have to create the WS and deploy it in order to expose it with the XI, then what is my benefit of exposing it with the XI, why not just exposing it as a normal WS ?
    You don't have WAS 6.20 or up. Even if you did, you may still want to expose it using XI in order to have all of your integration go through the same application.
    3) If I expose my web service through the XI, how does the client application executes one of its methods? To which url does it have to access (the XI or the actual WS)?
    You expose a SOAP interface in XI by generating a WSDL file. This file contains all of the information a developer will need to call the webservice including the URL.
    You actually specify the URL when you generate the WSDL. Be sure to read the documentation to get the correct format because the URL that the wizard suggests isn't correct.
    Also check this Pdf for the Receiever SOAP Adapter configuration:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Also the target URL must be the URL to the WSDL. So, if you try putting it in your browser you must see the wsdl code.Please do ensure the same.....
    I hope this helps.
    Regards,
    Abhy

  • Service Unit Deployment Question

    When a Service Unit is first deployed to component A the life cycle calls to the service unit manager are:
    deploy
    init
    start
    My question is when component A is re-installed what are the life cycle calls to re-install the service unit? In other words is the service unit re-deployed with the new instance of component A by:
    deploy
    init
    start
    Or is it already considered deployed and just shutdown and re-started once the new version of this component is brought up (by init and start)?

    Currently, before you can uninstall a component, all service units deployed to that component must be undeployed. This can be achieved only by undeploying all Service Assemblies which have service units deployed to that component.
    Subsequently, after you install the new component, you must re-deploy those Service Assemblies.
    There are already plans underway to provide for "upgrading" a component, which would eliminate the need to undeploy and re-deploy the Service Assemblies.

  • How can I determine the WSDL URL for an Enterprise Service defined in ECC

    I have an Enterprise Service that is defined in ECC and I can see the function definition for it via transaction code se80, ABAP Development Workbench.  However when I open up the Service Definition for the Function and click on the WSDL tab the URL I see is not correct.
    How do I find the proper Enterprise Service WSDL URL?
    Sam
    PS: Posted on behalf of some colleagues...  
    I wonder if someone from Exton knows the answer???

    Will someone please tell me this so I can give them points:
    First you have to call transaction SOAMANAGER in your ECC system.  It will then open up a new browser window.  Then select the Single Service Administration link and a new screen will open.  Then search and select your WebService and press the Apply Selection button.  Then you can select the wsdl from the grid below.  If no wsdl was previous created you can Create a New Endpoint which will generate one.  The browser window that opens up will have the WSDL URL set in the Address bar.
    Sam

  • I was given a 16Gb ipad mini retina with cellular but I need more storage. We do not have the receipt as it is a gift. I like to swap for a 64Gb unit and pay for the difference my self, how do I go about doing that? I have not open the packaging yet.

    I was given a 16Gb ipad mini retina with cellular but I need more storage. We do not have the receipt as it is a gift. I like to swap for a 64Gb unit and pay for the difference, how do I go about doing that? I have not open the packaging yet.

    Hi
    Thanks for that. Yes, the ipad was purchased recently. I called Apple last Friday and they ask for the receipt. I wonder if anyone were able to swap their ipad for a larger storage in the past at the apple store without a receipt? 16Gb is such a small storage.

  • Can not open the WSDL in a Deployed web service

    I finished a JAXRPC based web service, packaged a war file and then using WSDEPLOY to produce a new war file. The new war file was deployed to Sun APP Server and everything seemed to be fine. But when I tried to open the url, the page displayed many question marks (not encoding problem, I tried many encodings but no change). The following is a copy from the browser (originally in a table, becomes mess here)
    Web ??
    MetSoapEndpoint ???
    ??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint
    WSDL? http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
    ?? QName? {http://www.agmodel.org/Schema/MyWS/2006/02/MyWSEndpoint}MyWSEndpointPort
    ????? net.agmodel.myws.mysoap.jaxrpc.MyWSEndpoint
    ???? net.agmodel.myws.mysoap.MyWSEndpoint_Impl
    ??? http://localhost:8080/MyWS/mysoap/MyWSEndpoint???
    And I tried to open the WSDL by clicking on the above WSDL address, but get the following error message:
    XML Parsing Error: no element found
    Location: http://localhost:8080/MyWS/mysoap/MyWSEndpoint?WSDL
    Line Number 1, Column 39:<?xml version="1.0" encoding="UTF-8"?>
    I also tried to deploy the service to JBOSS 4.0.4, got exactly the same result.
    Anyone can help me?
    Thanks a lot.
    xinwen

    Nobody answered...
    May bcoz it was on AXIS2.... no issues guys..here is the solution
    Webservice technology is also based on Servlet based techology only
    so in AXIS2 webservice class, implement org.apache.axis2.engine.ServiceLifeCycle interface. You'll get 2 methods here -
    void startUp(ConfigurationContext arg0, AxisService arg1) and
    void shutDown(ConfigurationContext arg0, AxisService arg1)
    these are nothing but init() and destroy() of the servlet.
    Inside these methods u can get servlet context parameters by getAttribute(string) and initial parameters of the servlet by getInitParameter(string)
    Edited by: Neo2001 on Feb 18, 2008 2:31 PM

  • I just bought a new IMAC and i want to install the Office Mac 2011, but it doesn´t have a CD unit. How can I do it?

    I just bought a new IMAC and I want to install the Office Mac 2011, but it doesn´t have a CD unit. How can I do it?

    Howard has the easiest answer. Or at least, cheapest, since you don't need to purchase an external CD/DVD drive.
    The "demo" software from Microsoft's site is exactly the same as what's on the DVD. Install that and activate it with the key in your software box.
    From Microsoft's site:
    How do I install Office for Mac 2011 if my Mac doesn't have a DVD drive?
    There are two options for installing Office for Mac if your Mac doesn't have a DVD drive.
    Option 1: Convert your Office for Mac 2011 trial. To convert a trial version, you must have a valid product key. The product key will convert your trial into a fully licensed version of Office for Mac.
    1. Locate the 25-character product key in your product package or confirmation email.
    2. Open any Office for Mac application, like Word, PowerPoint, or Excel.
    3. On the first screen of the Microsoft Office Setup Assistant, click Enter your Product Key.
    4. Enter your product key and complete the installation instructions.
    Option 2: If you have not previously installed the trial version, you can download Office for Mac from the Office for Mac website. To download, install, and activate the software you must have a valid Office 2011 product key.
    1. Locate your 25-character product key found in your product package or confirmation email.
    2. Go to www.officeformac.com/download
    3. Click Get Started to start the download process.
    4. When prompted, enter your 25-character product key and select your product language.
    5. When prompted, sign in with your Windows Live ID or sign up and create a new Windows Live ID account.
    6. After you enter your Windows Live ID, you will see a link to download the software. (You will also receive a confirmation email with a link to your My Account page if you prefer to wait and download your software at a later time.)
    7. Click Download Now to start the download.
    8. Save the file to your desktop. Do not change the file name.
    9. When the download is complete, double-click the .dmg file icon on your desktop. This opens the Installer application in Mac OS X.
    10. Follow the instructions in the installer screens to complete your installation.

  • How the client stub is generated from the wsdl file ?

    I want to know how the client stub is generated from the wsdl file ?
    how the client accesses the methods in the wsdl fie ?
    thanks alot .

    there are several ways to generate the stubs from a wsdl.
    if you're using jax-ws, there is a netbeans tutorial creating web services. you found this on http://www.netbeans.org/kb/trails/web.html.
    if you're using axis as your framework, i think this would be a nice introduction of it. link : http://www.eli.sdsu.edu/courses/spring03/cs683/notes/AXIS/AXIS.html#Heading4

  • Error while invoking the WSDL service of EBS from BPEL process

    Hi Team,
    when we are calling webservice client to call WSDL service which is published in Oracle EBS integrated SOA Gateway from BPEL process.
    After invoking, we are getting the below error
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null :Please see service monitor logs for full error trace</summary></part><part name="detail"><detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null :Please see service monitor logs for full error trace</detail></part><part name="code"><code>{http://schemas.xmlsoap.org/soap/envelope/}Server</code></part></remoteFault></bpelFault>
    API Name : OE_ORDER_PUB.PROCESS_ORDER
    could you please let me know the exact problem and provide the solution.
    Thanks
    Phani Ch.

    Hi Phani,
    Are you able to reproduce issue as below:
    1. Login to Application as sysadmin.
    2. Navigate to Intergrated SOA Gateway > Integration Repository.
    3. Click on search on right hand side of the page.
    4. In the Internal Name type "FND_USER_PKG" and click Go.
    5. Click on the User link.
    6. Under the "Web Service - SOA Provider", click in the "View WSDL". Copy the complete URL "http://test:8003/webservices/SOAProvider/plsql/fnd_user_pkg/?wsdl"
    7. Open the soapUI.
    8. Click File > new soapUI Project.
    9. Test the web service.
    If yes,
    I think you might be need to execute a patch:
    solution:
    To implement the solution, please execute the following steps:
    1. Download and review the readme and pre-requisites for iAS Patch 18855074.
    Note: Above Merge Label Request (MLR) is build for EBS 12.1.3 having OC4J 10.1.3.5.
    2. Enable the profile option "EBS Adapter for BPEL, Function Security Enabled".
    a. Login as SYSADMIN user and Navigate to System >Profile  and Search for "EBS Adapter for BPEL, Function Security Enabled" (Internal name :EBS_ADAPTER_FUNCTION_SEC_ENABLED)
    b. Set the Value to 'Y' at SITE level . This means  function security feature is enabled and all API calls for PL/SQL APIs, Oracle e-Commerce Gateway, and concurrent programs will be checked for user security before they are invoked.
    3. Retest the issue by Generating and Deploying the required package.
    4. Migrate the solution as appropriate to other environments.
    Thanks
    Ranjan

  • How to Customize the WSDL file in Weblogic

    Hello All
    I am trying to make a web service deployed inside weblogic to be accessible through a loadbalancer that use HTTPS protocol.
    The wsdl file url is accessible through the load balancer via https and all works fine expect the schemalocation attributes within the wsdl
    <types>
      <xsd:schema>
      <xsd:import namespace="http://interfaces.package.com/" schemaLocation="http://domainname:80/I2SS-Interface-context-root/InterfacePort?xsd=1"/>
      </xsd:schema>
    </types>
    I don't know which element is generating the wsdl (weblogic or JAXWS SOAPBinding) . But I need that the schema location attributes contains https url and using the port 443.
    Please can you help me to customize this file.
    Thanks

    change your web-inf directory name to WEB-INF. This should fix your problem.
              Kumar.
              Alex wrote:
              > I write a jap and a web.xml files and also pack these files into a war file.
              > When I use the console to deploy the war, the console think the war is a
              > application, not web application.
              > I attach the test.war.
              >
              > Name: test.war
              > test.war Type: unspecified type (application/octet-stream)
              > Encoding: x-uuencode
              

  • Include xml schema in the WSDL of the web service

    Hi,
    I have a bpel process where I want to call several web service, so therefore the web services should reference the same xsd schema. I use JDeveloper and Oracle PM 10.1.3.3.0.
    I have a problem with including the schema in the wsdl of the web service, and I receive an error at deploying the web service.
    For including the schema I tried, things like:
    <types>
    <xsd:include schemaLocation="\C:/genschema.xsd"/>
    </types>
    Error compiling :C:\orabpel\bpel\system\appserver\oc4j\j2ee\home\applications\BuecherApp-LagerService-WS\WebServices: Error instantiating compiler: Web service artifact generation failed:oracle.j2ee.ws.common.tools.api.WsdlValidationException: model error: element "{http://lagerservice/types/}pruefeBuecherAufLagerElement" not found.
    or
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://lagerservice/types/"
    schemaLocation="genschema.xsd" />
         </schema>
    </types>
    Error instantiating compiler: Web service artifact generation failed:java.lang.InstantiationException: IO Error parsing imports in C:\orabpel\bpel\system\appserver\oc4j\j2ee\home\application-deployments\BuecherApp-LagerService-WS\WebServices\server-wsdl\LagerService.wsdl : Unable to find/read file WEB-INF/wsdl/genschema.xsd
    the file is in the required directory WEB-INF/wsdl, and also the current directory.
    Can anyone help please?
    Ela

    ... and here is the solution:
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://lagerservice/" schemaLocation="file:///c:/genschema.xsd" />
         </schema>
    </types>

  • How to include WS-Security Header in the WSDL

    hi
    how to include WS-Security Header which have username and password as
    i had seen the below link it deals with just hello world which is not using any Services(DBAdapter) is it possible to use DBAdapter as the steps present in the below link how to include WS-Security Header which have username and password
    http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html

    As Amir suggested, you may provide in the URL but I wouldn't suggest it though. You don't want to hard code the user ID and password within in the WSDL because it is a bad practice especially the user ID and password may be different in different systems and every time you change the password, you have to regenarate your WSDL.
    May be you thought through this but just in case if you didn't
    KK

  • How to get the WSDL file to consume a WS from Visual Studio

    Hi gurus:
    I've created a receiver SOAP adapter in my XI system that could be invoked by:
    http://xiserver:50000/XISOAPAdapter/MessageServlet?channel=:Openlab_Desarollo:CanalComunicaciones_SOAP"
    It is working fine. Now I must send the WSDL file to an external enterprise so they can invoke the XI web service. Thay are using Visual Studio.
    But, how could I obtain or generate the WSDL file?
    Thanks in advance to all and regards,
    Alejandro.

    Hi,
    In ID, choose "Define Webservice" in Tools.
    There you can  provide the URl that you have given here, instead of using proposed URL.
    You will get the WSDL that you can consume in Visual studio.
    Regards,
    Vikas

Maybe you are looking for