WSDL failing on WS-I analyze with BP2012

Hi,
I am quite new to the WS-I analizer and it is failing with a BP2012 error which relates to "The binding (in soapbind:body elements) refers to part(s) of a soap:body element that do not have the "element" attribute.".
I have the following WSDL
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ProductService"
targetNamespace="http://www.ecerami.com/wsdl/ProductService.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.ecerami.com/wsdl/ProductService.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd1="http://www.ecerami.com/schema">
<types>
<xsd:schema
targetNamespace="http://www.ecerami.com/schema"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<xsd:complexType name="product">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="description" type="xsd:string"/>
<xsd:element name="price" type="xsd:double"/>
<xsd:element name="SKU" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
<message name="getProductRequest">
<part name="sku" type="xsd:string"/>
</message>
<message name="getProductResponse">
<part name="product" type="xsd1:product"/>
</message>
<portType name="Product_PortType">
<operation name="getProduct">
<input message="tns:getProductRequest"/>
<output message="tns:getProductResponse"/>
</operation>
</portType>
<binding name="ProductPortBinding" type="tns:Product_PortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getProduct">
<soap:operation soapAction="http://www.ecerami.com/wsdl/ProductService.wsdl/getProduct"/>
<input>
<soap:body use="literal" parts="sku"/>
</input>
<output>
<soap:body use="literal" parts="product"/>
</output>
</operation>
</binding>
<service name="NewProductService">
<port name="NewProductPortBinding" binding="tns:ProductPortBinding">
<soap:address location="http://blah"/>
</port>
</service>
</definitions>
Can anyone point me in the right direction so that I can use the complexType and pass the WS-I checks?
Thanks
Joel.

Hi Joel,
When using document/literal message format, the <soap:part> should be referencing an element. types are only valid for RPC message format (either RPC/encoded or RPC/literal).
<part name="sku" type="xsd:string"/> is only valid for RPC.
The best way to learn how to author WSDL is to start with java code ans see how tools like JDeveloper or WSA do it.
Here, your parts need to point at an element. Here is a sample for the output (same applies for the input):
<xsd:element name="product" type="xsd1:product"/>
<message name="getProductResponse">
<part name="product" element="xsd1:product"/>
</message>
The name of the newly introduced element can be anything you want it to be.
Hope it helps,
--eric

Similar Messages

  • When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says: The request for account "iCloud" failed.  The server responded with "502" to operation CalDAVSetPropertyQueueableOperation. Help!!??

    When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says:
    The server responded with “502”
    The request for account “iCloud” failed. 
    The server responded with “502” to operation CalDAVSetPropertyQueueableOperation.
    The request for account “iCloud” failed.
    I am then given the option of staying Online or going Offline.
    Can anyone help me?
    thanks

    Hello b.krushel,
    Thank you for using Apple Support Communities
    Any number of things could cause this issue, so I would recommend this article named iCloud: Troubleshooting iCloud Calendar found here http://support.apple.com/kb/TS3999.
    These sections in particular:
    General Troubleshooting
    Make sure there are no current issues listed on the System Status that affect iCloud Calendar. The System Status is located on the iCloud Support webpage.
    Make sure you have fully enabled iCloud Calendar for the client you are using (for more setup and troubleshooting information on iOS, OS X, Windows and iCloud.com, see the additional details below).
    Check to see if the issue you are seeing is covered in iCloud Help. To search iCloud Help, visit help.apple.com/icloud.
    Check your settings and preferences as something may not be set up correctly. For example, having incorrect date and time settings can cause issues which are easily resolved by entering the appropriate settings.
    Troubleshooting Calendar on OS X Mountain Lion (iCal on OS X Lion)Note: For instructions on setting up iCloud Calendar with Calendar or iCal on your Mac, see iCloud Setup.If you are having trouble with Calendar or iCal on a Mac and you are using iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Make sure you are using OS X Lion v10.7.2 or later. Click here for help verifying the version of OS X you are using.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in iCal. Click here for more information about troubleshooting your Internet connection.
    Verify that your iCloud member name is entered into the iCloud Preference pane in System Preferences. See iCloud Setup for more information about setting up iCloud on a Mac.
    Make sure you enter and update calendar information in the iCloud section of Calendar or iCal. Only calendars and events in the iCloud section of the Calendar or iCal Calendar list will be pushed to iCloud. Both Calendar and iCal for the Mac support the display of and interaction with multiple accounts and datastores, for example, iCloud, On My Mac, Exchange, Google, and so on. This makes it easy to create or modify events or calendars in a section of  Calendar or iCal that may not be updating iCloud. Learn more about moving local calendars to iCloud.
    In some cases, you may find that you have data duplicated in both the local On My Mac and the iCloud sections of Calendar or iCal. Learn more about resolving this issue.
    You can make the iCloud calendar your default calendar for all new events. In Calendar on OS X Mountain Lion, choose Calendar > Preferences > General, or in OS X Lion, choose iCal > Preferences > Generaland under the Default Calendar heading, select one of the Calendars under the iCloud heading. Close the Preferences window to save this change.
    If recent changes simply don't appear, try forcing Calendar or iCal to refresh by selecting Refresh All from theCalendar menu.
    Make sure your account was successfully created in Calendar on your Mac (or iCal). After upgrading to iCloud Calendar, you may need to quit and reopen Calendar (or iCal). To confirm your account is configured correctly in iCal:
    Open Calendar (or iCal).
    Open Calendar (or iCal) Preferences.
    Click Accounts. You should see an account with your iCloud member name entered.
    Turn iCloud Calendars off and back on
    Quit Calendar (or iCal).
    Choose Apple () menu > System Preferences > iCloud.
    Remove the checkmark in the checkbox next to Calendars.
    Close System Preferences and wait about a minute.
    Open System Preferences and choose iCloud.
    Replace the checkmark next to Calendars.
    Close System Preferences.
    Open Calendar (or iCal) and test to see if the issue has been resolved.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Take care,
    Sterling

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.

    Dear Team,
    Can you please help me by providing the BAPI name for creating the outbound delivery for Scheduling Agreement in SAP SD .
    I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.
    The system says "missing data in the BAPI interface: VBAK VBTYP E". It seems another FM should be used for scheduling agreement only.
    Thank you for your help in this regard .

    Hi Raghu.
    As much as I don't want to do this but just to resolve this error I created an enhancement implementation in include LV50R_CREACSV form routine dcs_check_so_vs_interface and modified VBTYP to blank to avoid that error message.
    Got the tip from this thread http://scn.sap.com/thread/1972059
    Unless... anybody has a brighter idea (without modifying the standards)?

  • The server responded with an error. The request for account "Yahoo" failed. The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation

    The server responded with an error. The request for account "Yahoo" failed. The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation

    I am tired of how Yahoo has gotten worse and worse. It is the ONLY account I get problems with DAILY (even after removing and re-adding). AOL will act up once in a while not taking a saved password but accepting it when OK is clicked.... But Yahoo is always responding with such errors.... Today's calendar error is:
    The request (CalDAVAccountRefreshQueueableOperation) for account “Yahoo” failed.

  • The request for account "iCloud" failed.  The server responded with "400" to operation CalDAVAddSubscriptionCalendarQueueableOperation

    Does anyone know how to fix this problem?  Or even what the problem is?  I am trying to subscribe to a calendar and every time I do, it gives me this response:
    The request for account “iCloud” failed.
    The server responded with
    “400”
    to operation CalDAVAddSubscriptionCalendarQueueableOperation
    Any help would be fantastic.  This is a course calendar, and I really need it.
    Thank you!

    Keep away from iCloud and keep away from iCal. This is the most reliable solution to these 403 issues.
    The Mac cannot upload calendars and keeps popping up error messages with an insane frequency.

  • Verify permissions failed: Framework unable to communicate with the Disk Management daemon

    I'm experiencing problems with the Disk Management daemon on my MBPro Retina running Mountain Lion 10.8.2. I discovered it first when I tried to enable file vault and received the "Framework unable to communicate with the Disk Management daemon" error message.
    So I started up Disk Utilities (which started fine) and tried to run Verify Disk Permissions. It failed with the following errror message:
    "Verify permissions failed: Framework unable to communicate with the Disk Management daemon"
    So I booted in to safe mode and tried Verify Disk Permissions again with the same results.
    So I booted in to the recovery partition to run Disk Utilities. It ran fine and the Verify Disk Permissions found some errors which I then fixed.
    I re-booted normally but am still experiencing the same behavior.
    I have turned off my anti-virus (Sophos) to no effect.
    I checked the console and found the following message:
    12/6/12 3:27:02.828 PM Disk Utility[157]: *** WARNING: Method userSpaceScaleFactor in class NSWindow is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
    Thoughts or suggestions?  Thanks!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • BEx Analyzer with different worksheets

    Hello,
    I have query with the following query structure in my BEx query designer
           Characteristics                                             Keyfigures
    Project no     Costcenter           Jan Actual   Feb Act   Mar act ...Augplan Decplan
    I want to develop a workbook in BEx Analyzer with each key figure on each worksheet so that i will get 24 worksheets for each month for prior year and current year.
    Can you please let me know how i can implement this in BEx analyzer in BI 7.0

    Hi Al,
    As this is a property of the Analysis Grid, you can turn it on for the analysis grid that you insert your query in on each sheet.
    http://help.sap.com/saphelp_nw04s/helpdata/en/d3/015369f54f4a0ca19b28c1b45acf00/content.htm
    Hope this helps...

  • Ewfmgr: Failed getting protected volume configuration with error 1

    Hello,
    I created a Windows 7-64 image for an Ivy-Bridge VME card. The image contains EWF with RAM-REG.
    The disk was divided into 2 partitions with the windows installer and the image was successfully installed.
    As I'm using RAM-REG, all
    the disk was allocated.  
    After the image was installed I tried to run "ewfmgr c:" and got the current status.
    Then I created a GHOST image and wrote the image on a new card with a clean disk.
    After Windows booted, running "ewfmgr c:" gave:
    Failed getting protected volume configuration with error 1
    I found few threads on this issue but failed to understand what is the right solution.
    Can you help ?
    Thanks,
    Zvika  

    The Problem is always Volumeid related (diskid)
    Explaination:
    Sysprep creates new bcd for the System. - Therefore it's recommended to use sysprep (and SID and so on..) but if you're lazy or don't have Domain Controller and so on or always use physical seperated (better not Internet connected) machines you would be
    totaly fine with non-syspreped Images. You only Need updated/new bcd.
    Captured wim has 'old' bcd (if there is no seperated MSR Partition) you can update this 3 entries within winpe and your Image will boot:
    bcdedit /store c:\boot\BCD /set {BOOTMGR} device boot
    bcdedit /store c:\boot\BCD /set {DEFAULT} device PARTITION=C:
    bcdedit /store c:\boot\BCD /set {DEFAULT} osdevice PARTITION=C:
    (boot could also be Partition=c: or all entries could be boot - and /store is not needed as in winpe bcdedit automatically Redirects the commands into the other/System (found) bcd. But i always recommand to specify the bcd store you want to edit, like in
    this lines)
    The definition of "C:" in this Parameter is 'translated' into volumeid/diskid. - So in the bcd is not "C:" it's some DiskID.
    Instead of the 3 entries you can just create a whole new bcd with updated volumeid/diskids. --> It would be enough to run bcdboot /s C:\ (or whatever the current boot (c:\) Partition is.
    EWF needs to be reconfigured as it also works with Volume/Diskids. So it needs additional command while running (online).
    ewfcfg /install-configuration for win7
    rundll32 ewfdll.dll,ConfigureEwf for win xpe/wes2009.
    Windows Embedded Developer and Scripting Guy //Germany (http://www.wesnext.com)

  • WLC Failed to complete DTLS handshake with peer

    WLC 5508 running 7.0.98.0
    Site was running fine until the WLC had a hardware failure.
    A new WLC was shipped out, was running 6.0.99 then manually upgraded to 7.0.98. Clients cannot authenticatewith recurrent logs messages like this.
    *dot1xMsgTask: Feb 23 17:05:03.648: %DOT1X-3-MAX_EAP_RETRIES: 1x_auth_pae.c:2914 Max EAP identity request retries (3) exceeded for client 00:21:5c:<snip>
    *spamApTask0: Feb 23 17:05:01.926: %DTLS-3-HANDSHAKE_FAILURE: openssl_dtls.c:629 Failed to complete DTLS handshake with peer 192.168.214.91
    I have tried changing the key on the radius server to no avail.Anybody have any ideas?

    DTLS message corresponds to an AP not joining or disconnecting.
    The EAP message above is about a client not finishing its dot1x authentication.
    Since what changed is the WLC itself, I would check for changes :
    -did it change ip address ? is the config EXACTLY the same as before ?
    -What does your radius server reports as failed attempt reason ?
    Nicolas

  • Windows Update failed to check for updates with error 0x800B0001

    Hi all,
    I have a WSUS installed on a Windows Server 2008 R2 box, I have a new Windows Server 2012 box (joined to domain) that cannot get updates from the WSUS, whenever I try to search for new updates I receive the following error in event viewer:
    Windows Update failed to check for updates with error 0x800B0001
    Note: I cannot see the Win2K12 server in the WSUS console under computers node.

    I couldn't get it to run even after installing the mentioned KB fixes. So I investigated the error myself, and found a "hack" that seems to fix the issue. Wrote up a small piece on it here:
    http://tplive.azurewebsites.net/2013/12/windows-update-error/
    You and about a thousand other people have reported "I had already installed [the update], but installing it AGAIN fixed the problem.", which is almost assuredly a simple indication that the original installation of the update failed, and you simply did
    not recognize that the installation of the update was not successful.
    The fact that the /selfupdate folder was corrupted (read: missing files) pretty much says it all. There's no bug. Your installation of the update simply failed. (Or, the server wasn't healthy to begin with and you got what you got.)
    Bottom line: The only known cause for a client-side 0x800B0001 error code is that the WSUS server has not been
    properly and completely patched.
    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2013)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence R Garvin
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Failed to create a user with Mac Mini Server, the message "Failed to process the command writesettings" in the module "servermgr_sharing"

    Failed to create a user with Mac Mini Server, the message "Failed to process the command writesettings" in the module "servermgr_sharing"

    I have a Mac Mini with OS X Server 10.8.5 and Server 2.2.1 and have a problem to share the public folder.
    When I enter the Server application to indicate that I want to share the public folder on the network and assign user I get the following message appears
    And I can not share the folder.
    If I go from my i-mac get mac mini server view and access the public folder, but I can not open any of the files there.
    That I can do to fix this?
    thank you very much

  • Failed to redeploy cardcath.war with error 256.

    The last time there was a code promotion for an application I was working on, an
    email with the following error message was sent:
    Failed to redeploy cardcath.war with error 256.
    Can anyone give me some information on 'error 256'? I need to find out why the
    application 'failed to redeploy'.

    How did you create your datasource, can you post the content, without passwords of course.
    Greetings.

  • What is causing this message? The request for account "iCloud" failed.  The server responded with "509" to operation CalDAVMigrateToServerQueueableOperation.

    What is causing this message. Occurs on both Mini and MacBook Pro.
    The request for account “iCloud” failed.
    The server responded with
    “509”
    to operation CalDAVMigrateToServerQueueableOperation.

    Follow the links given in the right panel, under "More Like This", they should provide answers.

  • Oracle ODBC Failed to enlist global transaction with DTC

    Hi Everyone,
    I have installed a COM+ application on a Windows Server 2008 R2 x64 machine. Which is using Oracle Client version 11.1.7.0 (32 bit).
    Application is using 11.1.7.0 (x64) Database running on another server with same OS. When I run some functionality in the application, I am getting a message saying
    "The Error [Oracle][ODBC]Failed to enlist global transaction with DTC".
    This error happened in a production environment. It is working on my test machine under same situation. The application is certified on above Oracle version.
    Please let me know what can be cause of the problem.
    Thanks & Regards,
    Anil

    I have the same problem with Oracle OLEDB provider also. Use
    Microsoft drivers they work and faster...
    Eddy

Maybe you are looking for

  • How do I create a screen saver from a video file?

    I've been trying to search for an answer to this question for 20 minutes, without luck, so I figured the best course of action is to ask the experts. I'm a video editor.  If I cut together a series of clips, of any length, how do I make that movie in

  • Media Encoder will not open in windows 7

    I had a lot of problems with Premiere Pro CS4 after I loaded it on my new system with Windows 7. After I got it working I just burned Blue-Ray using Encore and that worked OK. I'm using Windows 7 with the lastest updates and my computer has all the l

  • Why can't the finder in Mountain Lion 10.8.2 find files that have successfully downloaded, or that other programs can find?

    Why can't the finder in Mountain Lion 10.8.2 find files that have successfully downloaded, or that other programs can find? This happens with maybe 1 out of 5 files. These are files that have either an ."aa" extention, or or are libraries that icloud

  • Huge time taken for insertion

    Hi, We have a framework where we can insert statements in bulk(where-in we create a set of statements and insert in bulk). There is a scenario where we need to insert a product in some product_table, before to which we have some Select and Insert sta

  • Cannot find java.lib.

    I am unable to build an .exe for the c program in Visual C++ Builder in Visual Studio as the error says, unable to find Java.lib file as follows LINK : fatal error LNK1104: cannot open file "java.lib" Error executing link.exe. I searched for the java