Jdev 10g web services - Generated WSDL/message part name does not match

Hi,
Any idea how to get the generated WSDL sequence element name and Java WSDL mapping file message part name to match the parameter names of the EJB exposed as a web service (using the bottom-up approach)? Right now what happens is these 2 names are generated based on the parameter type (e.g. Integer_1, String_2, etc). Thanks for any help.
rgds,
Ong

It depends on a number of things because the JAXRPC 2.0 spec. will be dependent on a number of
other specs. We are hoping to have an EA later this year or early next year.

Similar Messages

  • Difficulty in a Oracle SOA web-service with 2 message parts

    Hi,
    I am developing a web-service which should take 2 inputs - a string and a datetime. Also I have an xsd which I am importing into the wsdl to define the message elements.
    I have 2 options to do this:
    Option-1: Bundle these 2 input parameters into a single complex type in the xsd and then expose this complex-type as a single message part in the input message element. The wsdl operation tag then looks something like this:
    +<wsdl:message name="RetrieveLoVRecordsRequest">+
    +<wsdl:part name="part1" element="inp1:LoVInput"/>
    +</wsdl:message>+
    Option-2: Put these both these simple-types (the string & datetime inputs) in separate message parts. So wsdl operation looks like:
    +<wsdl:message name="RetrieveLoVRecordsRequest">+
    +<wsdl:part name="part1" element="inp1:LoVName"/>+
    +<wsdl:part name="part2" element="inp1:LoVEffectiveDate"/>+
    +</wsdl:message>+
    I need 2 wsdl interfaces with one with option-1 & other with option-2
    The web-service works fine in option-1. But for strange reason does not work correctly for option-2.
    In option-2 the 1^st^ difficulty was that after I coded the wsdl in jdeveloper and did not attach an explicit binding to it, the message-part part2 does not show-up at all in the enterprise manager when I go to the web-service test page. When opened the WSDL URL in the browser it indicated that the SOAP sytle/encoding as Document/literal. Perhaps that's what it dafults to when no explicit binding is specified. I got around this problem by explicitly specifying a RPC/literal binding in the WSDL in jdeveloper. This then showed-up the 2 parts distinctly in the EM test console.
    The 2^nd^ problem (which the main problem now) was that the web-service now started failing complaining about xsl transformation in the mediator
    +ORAMED-01201:[Error in transform operation]Error occurred while transforming payload using "{0}" for target part "{1}".Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.+
    Strangely I have correctly mapped the input & output parameters and the xsl is very simple having the 2 input parameters on the left being mapped to 2 corresponding parameters for the SQL where clause.
    And when I went to the EM dashboard to inspect the failure, the input payload did not show any input being passed to the xsl transform in the mediator. This is how the input looks
    +<message>+
    +<properties>+
    +<property name="tracking.compositeInstanceId" value="80053"/>+
    +<property name="tracking.ecid" value="f2d97d6a53d56c9f:-58326bb8:13e15e68aab:-8000-000000000000113d"/>+
    +<property name="transport.http.remoteAddress" value="10.110.173.159"/>+
    +</properties>+
    +<parts/>+
    +</message>+
    As you see above, the parts tag is blank; where it should contain part1 & part2
    To summarise, when I add an RPC/literal binding to the WSDL the input to the wsdl seems to get chopped off !
    Looking fwd to your help.
    -Sudripta
    Edited by: Sudripta on Apr 17, 2013 8:55 PM
    Edited by: Sudripta on Apr 17, 2013 9:05 PM

    Hi Boatseller,
    I will put this in simple way.
    Can we set properties in biztalk wcf_custom adaptor like 
    1. <security authenticationMode="UserNameOverTransport" 
    2. enableUnsecuredResponse="True" 
    or 
     includeTimestamp="false"
    3. <textMessageEncoding
    messageVersion="Soap11"/>
    <httpsTransport/>
    I am unable to find these properties in BizTalk wcf_custom adaptor properties. It will be great help if you could guide me in right direction . My problem is to receive response message into orchestration which is not having header. But the response is coming
    from web service. I saw that in fiddler.
    Also, If there is any steps to make these properties available in machine config, please share 
    Thanks in advance
    Vivek

  • Generate web services form WSDL as part of build process

    Hi, I am using Jdev drop7build2.
    I have wsdl and schema types. From Jdeveloper we can generate webservices using "web services from WSDL". But I want to generate web services as part of my build process.
    Is it possible to do this as part of build process ? any ant tasks or API etc ?
    Thanks
    -Siva

    Arrrgggg
    Drop 7 is an Oracle-internal build, as far as I know.
    You should be asking on an internal Oracle list.
    John

  • Error Message - Value Entered Does Not Match Format of Field

    I keep getting an error message in Adobe Pro X: "The value entered does not match the format of the field [JF13]".
    I have JF13 programmed as follows:
    On Calculate tab:
    if(Number(this.getField("ck4").value) > 0) this.getField("JF13").value = Number(this.getField("FL019").value); else this.getField("JF13").value = " ";
    It is programmed this way so if the user checks the check box before the field, only then will JF13 populate a value, which pulls from FL019. I also have the settings set to "number" because the data needs to display as a dollar amount $xxx.xx.
    FL019 is a hidden field on the form which pulls a dollar amount from a Mainframe, and its settings are also set to "Number" :
    I get four pop up windows with the above mentioned error message, and the only way to make the message stop is to remove the "number" format from the fields. However, when this is done, if any number which ends in a zero is entered, it cuts off the zero. This is not acceptable either.
    Is there some sort of script I could add or some other way to prevent both the error message and the cutting off of the zero on JF13?
    I am not very proficient with javascript, so any assistance would be appreciated!

    Thank you so much for your response!!
    Forgive me for my lack of knowledge - but where exactly would I add that in the script?
    I tried it like this:
    if(Number(this.getField("ck4").value) > 0) this.getField("JF13").value = Number(this.getField("FL019").value); else this.getField("JF13").value = ""(empty string);
    And I got an error saying I was missing a parenthesis. Should it go somewhere else or am I completely off?

  • Messages menu status does not match Buddy List window

    Using Messages in Yosemite, the status of my logged-in buddies listed in the menu bar does not match the status of my buddies in the Buddies window. I have buddies listed in the window that are not in the menu bar and vice versa.
    It seems that the menu bar list may not be updating correctly--when I try to message them, the chat window sometimes says they are "idle"
    MacBook Pro, 15", early 2011
    10.10.1
    Core i7
    8GB ram
    Buddies are using Messages as well as google talk.
    Thanks!

    Hi,
    Sending Feedback to Apple rarely (if ever) gets a response. At iChat 3 release with OSX 10.4 there was an issue that I gave feedback for.
    I also happened to mention the issue in the Lounge Area for "New Technical Issues" and the Host linked to the iChat forums there were back then contacted me about it and had me run some stuff for Engineering.  (that's a possible once in 10 years like you).
    iChat 5 in Snow Leopard
    The process on how to display a particular Set of Buddies is different (as you will see with the next pic)
    However I only see those "Available" in a full sense in the Menu Drop Down.
    Idle (Amber) is technically Available + (a second level of Available if you like)
    Yosemite/Messages 8+  (Mavericks is also listed as Messages 8)
    The whole thing as I have several Accounts Logged in does fill my screen top to bottom.
    These pics agree with your first paragraph.
    I will let my MacBook Pro go Idle  as it has one Account in iChat there that is not on my iMac and see if the Menu Drop down changes when it does.
    I will have to wait for this to happen.
    7:57 PM      Wednesday; November 26, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I have a Kindle Fire. I cannot log into my employee records web site. Error message: Lawson Portal does not suppurt this browser: Netscape.

    Lawson wants Internet Explorer. What am I to do?
    dull

    Change the useragent to internet explorer with a addon such as phony.
    * https://addons.mozilla.org/en-us/mobile/addon/phony/

  • Message 476 Routing does not match selection

    Hi
    I am just starting to try and learn some CO for material cost estimates.  I am trying to get a planned cost estimate that shows a labor cost component and machine hours cost component.  I think I am not seeing it because of this message.
    Can anyone tell me just what this is for or guide me on what I need to do to get the cost compnents i wnt on my estimate.
    Wayne

    Hi
    Hope this brief helps
    Standard cost estimate is a tool for establishing prices for materials. It is used to calculate the costs of goods manufactured and the costs of goods sold for each product unit.
    In order to establish the cost estimate with quantity structure of a material, the bills of materials and routing of the material must exists for the materials to be costed.
    The cost estimate with quantity structure uses the material master data to determine the material consumption and internal activities required to produce the product.
    Costing calculates the cost of goods manufactured for each material made in-house in the BOM structure.
    Preliminary cost estimate is done in planning cost stage so as to know how much we need to produce the materials. This is as good as planned cost and once the production is finished, the Standard cost estimate is done periodically to update the finished material price in the materials master.
    Whereas SAP provides in built facility of mixed costing by entering mixed ratio for production versions. In order to utilize this, REM backflush is to be done using data from the preliminary cost estimate of the production version. Postings will be done with the data available in the preliminary cost estimate but the material can have a standard cost estimate which will have a weighted average cost estimate depending upon the mixed ratio of the production version maintained for the material. Main advantage of using mixed costing is, it can valuate in-house manufactured inventory with precise costing and update stock values in balance sheet.
    Reg
    Suresh

  • JNI generated header file does not match the class file

    We have had a JNI project for many years and all has been fine. Within our libraries we have several classes that have inner enum classes.
    Recently we have moved to JDK1.7. Up to now when JNI generated the methods where the signature used the inner enum class, and it was an oveloaded method, we would get something like the following as the signature:
    Java_PackageName_ClassName_methodName_OuterClass_00024InnerEnum_2
    And the class file result of the build would look like the following:
    methodName(OuterClass$InnerEnum)
    Since we have moved to JDK 1.7 the header file looks like the following:
    Java_PackageName_ClassName_methodName_OuterClasss_InnerEnum_2
    The class file is still the same, and because of that when we run the program we get an UnsatisfiedLinkError. I understand that this error is because the VM cannot find the implementation. So why JDK 1.7 generates a header file that does not match the class file?
    Thank you in advance.

    I don't have 1.6 to verify but your statements about what is generated for 1.7 for the header appear correct.
    The 000024 represents the '$' and for 1.7 the inner class is still named using '$'. So for example after compiling in 1.7 the inner class file is named the following...
    MyClass$InnerEnum.class
    So a one to one conversion should have kept the 000024 (presuming it does in fact do it that way in 1.6.)
    You might want to look at the release notes for 1.7.
    If you need a solution you could add a post javah step that renames the file.

  • Parameter names change when generating web service from WSDL

    Hi,
    I have a problem with BEAs web services that I'm hoping someone can help me with.
    I have a
    WSDL file, and from that I want to generate a web service implementation and a
    web service
    client. In the WSDL file, I have a message defined like this:
    <message name="someRequest">
    <part xmlns:partns="http://www.w3.org/2001/XMLSchema" type="partns:base64Binary"
    name="data"/>
    </message>
    I generate the server using the server using the wsdl2service Ant task, I implement
    the necessary classes, and I deploy it. When I access the deployed web service,
    the parameter name has changed, from "data" to "bytes". If I access the WSDL file
    of the deployed web service, it says:
    <message name="someRequest">
    <part xmlns:partns="http://www.w3.org/2001/XMLSchema" type="partns:base64Binary"
    name="bytes"/>
    </message>
    This happens for all parameters, string parameters are renamed to "string", base64Binary
    parameters are renamed to "bytes", etc...
    This poses a problem to me, because if I generate a web service client from the
    original WSDL file, it will not be able to talk to my web service. Is there any
    way of forcing a web service generated from a WSDL file to keep the parameter
    names of the original WSDL file?
    Any help in this is greatly appreciated.
    Regards,
    Petter

    From a quick look of your WSDL, it seams that you are mixing document-literal-bare and document-literal-wrapped flavor of web services. WSA may be able to do a better job at working around this mixed flavors than JDeveloper.
    If you have hand crafted this WSDL, I would recomend that you spend some time looking at the way WSDL are generated, with the java-first mode (or bottom-up), then author the WSDL you need for the final service.
    Here are sample of bare-style :
    <xsd:element name="getPupilAddressResponse" type="xsd:string"/>
    <xsd:element name="getPupilAddressRequest" type="xsd:int"/>
    Wrapped will looks like that:
    <xsd:element name="getSENLevelResponse">
    <xsd:complexType>
    <xsd:sequence maxOccurs="1" minOccurs="1">
    <xsd:element name="LevelDetails" type="tns:SENLevelRecord"/>
    <xsd:element name="RecordCount" type="xsd:int">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    Hope this helps,
    Eric

  • 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

  • Exception obtained when invoking a web service generated with JDeveloper

    Hello,
    I tried to create a synchronous BPEL process that invokes synchronously a Java Web Service created with the JDeveloper. The web service is wrapped around a regular Java class. The new created BPEL process is successfully compiled and deployed on the server. But when I try to initiate a test instance of the process in the BPEL console, after I fill the input parameter for then process and push the "Post XML Message" button, I obtain the following error:
    Your test request generated the following exception/fault:
    BPEL Fault: {http://oracle.com/cde/util/Top300DAO.wsdl}org.apache.wsif.soap.fault{org.apache.wsif.soap.fault.object=java.net.ConnectException: Connection refused: connect}
    I looked at flow and it throws the exception when it tries to invokes the web service generated with JDeveloper.
    Do you have any hints, ideas? Thanks a lot in advance for your help.
    I want to also say that the proxy settings for the BPEL server and designer are filled. I think that they are ok because I succeeded to start an instance of another process that calls synchronously an external Web Service.
    Regards,
    Marinel

    My guess is that this is caused by the WSDL of your service having an invalid service address. Can you please take a look at the WSDL of your service make sure that the location of the address is valid? (we have seen a couple of instances in the past where the generated url did not have the right port information).
    Update that WSDL, restart the BPEL server or from the BPEL console clear the WSDL cache and re-initiate your flow.
    Best,
    Edwin

  • Problem in using the Web Service generated from BAPI_FLIGHT_GETLIST

    Hi all,
       I am trying to use the Web Service generated from BAPI_FLIGHT_GETLIST. I have got the wsdl file, and trying to invoke it. But, while I can test the BAPI using the Airline ID AA, I can't test from the Web Service using the same data. It shows the error message - "Airline AA not found". Anyone having solution, please help. This is urgent.
    Thanks,
    Anirban
    Message was edited by:
            Anirban Das

    Yes, I am connecting to the same system where we have data..
    Anirban

  • "java Web Service from WSDL" just hands me a SOAPElement, no java mappings

    Another beginner question. I've used jdev and built a WSDL starting from a somewhat complex xsd. I've used the wizard "Java Web Service From WSDL" taking defaults. It seems to correctly generate class files for all my xsd types. It produces a fancy looking java-wsdl-mapping.xml But the generated stub service implementation just gets handed a SOAPElement object. Why generate all that mapping stuff and then make me parse the incoming data myself with SOAPElement methods? How am I supposed to make use of the mapping work that the wizard seems to have done for me?
    Thanks,
    Steve

    Dear Tugdual,
    Thanks for your intrest in my issue. I narrowed it down to the following type in my xsd
    <complexType name="PersonInfoType">
    <sequence >
    <element name="FamilyName" type="string"/>
    <element name="IndividualName" type="string"/>
    <element name="SpouseName" type="string"/>
    <element name="BirthDate" type="dateTime"/>
    </sequence>
    </complexType>
    This works fine - the "WebSerice From WSDL" wizard "knows" how to generate a class for PersonInfoType (with geters and seters) as well as useful stub implementation:
    public class PersonInfoImpl {
    public PersonInfoType processPersonInfo(String entityCode) {
    return null;
    However, if I make my type multiple occuring (to represnt e.g. rows from a db)
    <complexType name="PersonInfoType">
    <sequence maxOccurs="unbounded" >
    <element name="FamilyName" type="string"/>
    <element name="IndividualName" type="string"/>
    <element name="SpouseName" type="string"/>
    <element name="BirthDate" type="dateTime"/>
    </sequence>
    </complexType>
    Now the Web Service generator runs, but just doesn't generate any PersonInfoType class at all. For a stub implementation it genertes the following:
    public class PersonInfoImpl {
    public SOAPElement processPersonInfo(String entityCode) {
    return null;
    Now I'm stuck with the container just expecting from me a Soap Object and I have to build all the pieces myself with no java mappings to my xsd at all. Not very useful.
    Is there another xml structure I can use to represent data rows that is better supported by the wizard?
    Thanks,
    Steve

  • When to use Java Web Service from WSDL, Webservice proxy, Web Service DataControl -- JDeveloper 11.1.1.7

    Hi Experts!
    I am having confusion among these 3 services provided in Oracle ADF. When to use and what service needs to be used?
    Once we generate Webservice WSDL. With the WSDL we have 3  options in Jdeveloper to invoke this service.
    1. Java Web Service From WSDL.
    2. Web Service proxy,
    3. Web Service Data Control.
    Can anyone give us some brief description of these 3 services when do we need to use and which service is to be used for which scenario ?
    Please give me your valuable inputs.
    Thanks & Regards,
    Guravaiah Tata.

    Hi,
    Can you share your WSDL.
    You can send it to me at [email protected]
    -Vishal

  • Web Services without WSDL

    I am trying to access a SOAP Web Service. I'm using cfinvoke
    but the service doesn't provide WSDL.
    Is there any way in ColdFusion to access a web service
    without WSDL ?
    Many thanks,
    Simon

    quote:
    Originally posted by:
    logic8
    Whether I type
    http://example.com/core.php
    or
    http://example.com/core.php?wsdl
    - I get the following:
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="
    http://schemas.xmlsoap.org/soap/encoding/">

    <SOAP-ENV:Body>

    <SOAP-ENV:Fault>
    <faultcode
    xsi:type="xsd:string">Client</faultcode>
    <faultactor xsi:type="xsd:string"/>
    <faultstring xsi:type="xsd:string">method '' not
    defined in service</faultstring>
    <detail xsi:type="xsd:string"/>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    If I try using cfinvoke I get a "Unable to read WSDL from
    URL" 500 internal server error.
    BTW this is my first day learn CF ;)
    Thanks
    Never too early to start good habits, such as reading your
    error messages. What do you think this means?
    <faultstring xsi:type="xsd:string">method '' not
    defined in service</faultstring>

Maybe you are looking for