Workshop IDE can not create CTRL from WSDL file

Hi everybody,
For the evualtion of the Workshop IDE that comes with WLS 7.0 beta, I'm developing
a web service (via this IDE) which must interoperate with another web service
implemented with the help of another tool. I got the corresponding WSDL of this
"outside" web service (see attachement), and when I want to generate the corresponding
CTRL (via Add Service Control), I get the following error:
Error: Could not find operation 'sayHello' in portType ''
Prescription: The operation you are trying to bind was not found among the declared
operations. Please check your <portType> sections.
I do not have a lot of experience with WSDL files and its specification, but I
compared this file with another WSDL files that work with WORKSHOP IDE, and I
do not see difference between these files and the file that does not work. Moreover
the IDE error says that my service 'sayHello' can not be find inside the 'portType'
tags, but if you have a look at the WSDL file, you will see that is not true ?!?!?
Can somebody help me please?
Have a nice day
Vincent

Vincent,
What is happening is that the type attribute on the binding tag must match
both the targetnamespace and the name of the portType name attribute. Yours
do match in basename only. When parsing the WSDL file what we do is put the
name attributes of the portType, service and binding tags into the
targetNamespace of the WSDL and then we expect the references to these names
to also be resolved to that namespace.
In the case of your WSDL, your targetNamespace is
http://localhost:8000/HelloWorldApp/servlet/rpcrouter and the type attribute
on the binding attribute just references HelloWorldServicePort which means
it will use the default namespace of http://schemas.xmlsoap.org/wsdl which
is, of course, different than the targetNamespace.
To fixup the WSDL I would recommend you just define a new namespace at the
top of the WSDL file that matches the targetNamespace attribute and then use
that prefix in the text value of the attribute used to reference that name.
Yes, we do need to do some better parser/error messages to help identify
this :)
Here is one way that I have done to fixup your WSDL and Workshop does pull
it in and expose the methods correctly:
<?xml version='1.0'?>
<definitions name='HelloWorldService'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
xmlns:test='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
xmlns:xsd1='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schema'>
<types>
<xsd:schema
targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schem
a'>
<xsd:simpleType name="java.lang.Integer"><xsd:restriction
base="xsd:int"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Short"><xsd:restriction
base="xsd:short"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Long"><xsd:restriction base="xsd:long"
/></xsd:simpleType>
<xsd:simpleType name="java.lang.Double"><xsd:restriction
base="xsd:double"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Float"><xsd:restriction
base="xsd:float"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Boolean"><xsd:restriction
base="xsd:boolean"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Character"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="java.lang.String"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="java.lang.StringBuffer"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="java.lang.Byte"><xsd:restriction
base="xsd:byte"/></xsd:simpleType>
<xsd:simpleType name="char_lb_rb"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
<xsd:simpleType name="char"><xsd:restriction
base="xsd:string"/></xsd:simpleType>
</xsd:schema>
</types>
<message name='sayHelloInput'>
<part name='message' type='xsd:string'/>
</message>
<message name='sayHelloOutput'>
<part name='result' type='xsd:string'/>
</message>
<portType name='HelloWorldServicePort'>
<operation name='sayHello'>
<input message='test:sayHelloInput'/>
<output message='test:sayHelloOutput'/>
</operation>
</portType>
<binding name='HelloWorldServiceBinding'
type='test:HelloWorldServicePort'>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='sayHello'>
<soap:operation
soapAction='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/sayHello'/
>
<input>
<soap:body use='encoded' namespace='urn:HelloWorldService'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</input>
<output>
<soap:body use='encoded' namespace='urn:HelloWorldService'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</output>
</operation>
</binding>
<service name='HelloWorldService'>
<port name='HelloWorldServicePort'
binding='test:HelloWorldServiceBinding'>
<soap:address
location='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'/>
</port>
</service>
</definitions>
Thanks,
Art
"Vincent Ducret" <[email protected]> wrote in message
news:[email protected]...
>
Thanks for your answer, but I do not understand it, and also yoursuggestion.
>
According to WSDL specification, the 'type' attribute of a 'binding' tagmust
reference (bind to) an exisiting 'portType' tag. And it's the case here,no? I.e.
we have a 'portType' tag called HelloWorldServicePort, which is referencedby
the 'binding' tag named HelloWorldServiceBinding via its 'type' attribute:'HelloWorldServicePort'.
>
Where is the problem ?
Thanks a lot
Thanks for your help

Similar Messages

  • I downloaded the Acrobat 11 trial and  I can open the product. During the install it deleted the existing print driver and did not install a new print driver so I CAN Not create and print pdf files.

    I downloaded the Acrobat 11 trial and  I can open the product. During the install it deleted the existing print driver and did not install a new print driver so I CAN Not create and print pdf files.

    What OS? Have you tried a repair and updates from the HELP menu? The updates may be the key.

  • Can't creat PDF from .DWG file

    Using the world's most popular CAD program. Can't create a PDF from Adobe 3D. Apparently Adobe 3D wants to open the file using my AutoCAD, but thinks AutoCAD is not on my computer???

    Hi SWS,
    Didn't find it here, but found the answer by Googling and getting pointed to an AECBytes article from Feb '06, which had updated Revit 3D Capture settings (settings more updated than what Adobe gives you!).
    It's too bad the rotation tool is so unweildy and that the walkthru isn't right there with rotation, pan & zoom (crazy - no idea why that is). I need these to work in Reader for regular people, not computer/cad savvy types. Adobe 3D seems to have just great potential, but doesn't seem ready for prime-time yet on the PDF recipient end yet. Maybe version 8 is more polished/joe-regular-user friendly (which is what it's billed as if it's for use in Reader.
    Thanks again for your help.

  • Can't create PDF from Word file

    I may be missing some functionality or that functionality may not exist.
    I'm running Acrobat Pro 9.2 and MS Word 2004 (11.5) on OSX Leopard 10.5.8. I want to create a PDF from a Word file but NOT using the Print dialog. I want to either create it in Acrobat using File > Create PDF > From File or create it from within Word using the Acrobat menu/toolbar. This is so that it will end up as a tagged PDF.
    However, I don't have an Acrobat menu or toolbar in Word. I thought Acrobat was supposed to have installed these into MS Office when I installed Acrobat. And when within Acrobat if I select File > Create PDF > From File and choose a Word file, I get a message "Acrobat could not open 'filename.doc' because it is either not a supported file type or because the file has been damaged". This happens for all Word files.
    Looking in Acrobat > About Adobe Plug-Ins... under Convert2AdobePDF it says 'Loaded: no'.
    Are these two methods of converting Word files to PDFs something that can only be done in the Windows version of Acrobat? Or is there a plug-in or update I can download to install this missing functionality?
    Thanks for your help,
    Mark

    Keep your Office2004. But Office 2008 does have a way to create PDF's from within  the word and excel Programs.
    It works better than through the AdobePDF Printer, or through the Apple Print menus save as PDF. (Unless you have X.6.x Snow leopard)
    One thing it gets around is a long standing Problem Acrobat has had with word and excel since Word 6.0.1.a/Excel 5.0.1a. Acrobat doesn't know how to interpert Word Page section Breaks. Chopping up a word/excel document in to multiple PDFs that have to be merged back together. MS came up with their own PDF Converter that gets around that problem.

  • DNG Profile Editor: Can't create profile from JPG file

    Guys, could you tell me why DNG Profile Editor fails to create color table using 4 colored circles ? It says "Unable to check white balance using gray patches. Please use the four color circles to identify the four corner patches of the chart and try again" even though I places four circles properly (it works with DNG files shot with my Nikon D700).
    I created this DNG file from JPG file by opening it in Camera Raw plugin and saving as DNG file. Original JPG was shot on camera of Samsun Galaxy S phone. I know I'm crazy but I want to have color profile for it All patches are properly exposed after slight correction of Exposure slider in Camera Raw.
    I'm using latest beta3 build
    Here is link to DNG and JPG file I'm trying to use
    http://www.box.net/shared/4v2rzlzjfp
    Thanks!

    If you convert your JPG to a DNG can you change the profile to the one you computed from the other JPG you converted to a DNG?
    Profiles are not for JPGs.  Profiles are for RAW files that ACR supports.  You can't (easily/ever) get a RAW file from your Galaxy S and Adobe doesn’t' support that RAW format even if you could.
    To see if your profiling is working, you can used the ColorCheck module from a trial version of Imatest that you download from www.imatest.com and look at the color-error.
    You can also try the Read_Color_CC24.jsx script from Rags-Gardner:
    http://www.rags-int-inc.com/PhotoTechStuff/ColorCalibration/

  • CAN NOT REMOVE PHOTOS FROM STREAMING FILE

    I HAVE TRIED TURNNING OFF MY PHOTO STREAM ON MY DEVICE AND RESTING IT IN i CLOUD, BUT I STILL HAVE ALL THE PHOTOS IN MY i PAD2 PHOTO STREAM ALBUM. I HAVE EVEN GONE IN TO MANAGE STORAGE AND TURNED OFF THE BACKUP OPTIONS FOR THE CAMERA ROLL AND DELETED BACKUP. AND STILL CAN NOT GET RID OF THE PHOTO STREAM PHOTOS????
    PLEASE HELP ANYONE!!!

    Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    Reset Photo Stream
    http://support.apple.com/kb/HT4890

  • PSE can not create layers from Aperture reference

    I'm still working out how to use Aperture (just got it) and I can't figure this one out. No matter how I try and export an image to Photoshop (tried using PSD & TIFF standard and 16 bit) , PSE will NOT allow me to create duplicate a layer from teh background layer. I need to do some touch-ups on the image and need to duplicate the layer to do the work. PSE doesn't give it to me as an option.
    If I try and select everything, do a copy and a paste, the image gets pasted over the background layer as a selected object and not a new layer as it normally does.
    Any ideas of what's going on and how to send a version of an image from Aperture to PSE that will allow me to edit it fully?
    Thanks.
    Matt

    Hi Matt;
    By "PSE" do you mean Photoshop Elements?
    Also, if you are working with a 16-bit picture (a converted RAW image, I am assuming), what you can do with it is very limited in Photoshop. Reduce it to 8-bit and try to see if that fixes it.

  • Can not create PDFs from Word

    I've recently purchased Acrobat XI, and am running it on a Windows 7 x64 machine.  I am trying to convert files created in Word 2010.
    Method 1: I choose to print from within Word, choose Adobe PDF, and hit the print button.  The print spooler picks it up, I see the job in the print queue, and I'm asked for a location to save the file.  Once I choose a location the print spooler deletes the print job (as if it were successful) and no file is created.  I have tried this with both .doc and .docx files.
    Method 2: I drag the file from Explorer over on top of a running copy of Acrobat, Word is opened and I'm asked to choose a location to save the file.  Once I do so the Explorer window turns unresponsive, I see a progress bar at the lower right of the Acrobat window that says "Please wait, reading Adobe PDF," and it will sit there for hours with the progress bar almost complete or complete.  The only way to get the Explorer window responsive again is to kill the acrobat.exe process.
    Method 3: I choose Create PDF within Acrobat, point it to the file, and the same problem occurs as with Method 2.
    Changing the destination (from desktop, to documents, to a mapped network drive) has no effect either.  Nor does disabline MSE.
    I"m not sure what to do next to try and get this to work.

    And it started working on its own after Adobe support called me back.
    Go figure.

  • I can not remove spaces from TEXT file..

    Hi All,
    please advise me why the following code not remove the spaces or tab from the text file.
        try
            FileReader fr = new FileReader("D:\\Test\\a.txt");
    BufferedReader br = new BufferedReader(fr);
    Pattern p;
      Matcher m;
    String line;
    String afterReplace = "";
      String inputText = "";
    while((line = br.readLine()) != null)
       inputText = line;
      p = Pattern.compile("\\s+|\t");
      m = p.matcher(inputText);
      System.out.println(afterReplace);
      afterReplace = afterReplace + m.replaceAll(" ") + "\r\n";
      System.out.println(afterReplace);
    fr.close();
          catch (Exception e){
      System.err.println("Error: " + e.getMessage());
      }my regards
    Wael

    many thanks for you , i try to used it for the following text but the results same.
    McNair was shot and killed last weekend in what police say was a murder-suicide.  (July 9)                      Nation / World                          By:  AP                                 
     Comments: text ( 0 ) |  video ( 0 )    + Add a comment        
          Be the first to  add a comment .                                                           
           1          2          3          4          5                 Your Rating               <br>                                                                                                                                                                                                                                                                                                       
        Popularity                                                                                                                                    Your Name:                Your Comment:                                                                                                 
     http://videos.kansascity.com/vmix_hosted_apps/p/media?id=4999903&amp;item_index=&amp;genre_id=00000840 
                                                                     Your Email:                                     Friend's Email:                                     Your Message:                                                                                                                                                                                                                          
    Top Videos                                       Nation / World                       
                    Sports                                       Entertainment                                       Business                                       Lifestyle                                       
    Archive                                       User Submitted                                       Politics                                       Ink                                       Local                                       
    Selects                                                                                                                   
     all                        Sort By:                  Most Recent        Most Popular   
              Highest Rated                                                                 Loading...      
                               <br>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
     All users : If you have not already done so, Click "Record a Comment" to begin. Next, click "Allow" to use your camera.<br><br>  
     Additional Info for Mac users : If you do not see video (after clicking 'allow'), do the following:<br>      Click on the blue "gear" icon   in the lower right corner to bring up the settings window.     Click on the webcam icon.       If you are using a built in iSight camera, 
    choose USB Video Class Video from the pulldown menu. You should see video immediately.<br><br>       Click "close" button.   
    Record! You must record at least ten seconds before 
    you can stop.                

  • Can not import movies from a file folder into iPhoto 11 on my iMac

    I have movies in Iphoto on Macbook but when i try to import the movies into Iphoto 11 on my IMAC i get a message that says format unrecognized. 

    Download and install QuickTime Player 7 for Mac OS X v10.6.3 or later on your iMac and see if they will play with that. 
    As a test launch iPhoto with the Option key held down and create a new, test library. Trfy to Import the folder of videos into that library. Can you?

  • Can not open JPEG files and can not create JPEG files from other software

    Can not open JPEG files and can not create JPEG files from other software (For example from Solidworks).
    When I try to right click on a JPEG, a notice window appears written: "Windows Explorer has stopped working - Windows is
    checking for a solution to the problem" and then the notice box disapears, the desktop appears and I can continue working.
    From the other side - If I try to save as JPEG a screen of Solidworks (like a view of a part) the Solidworks falls but the JPEG
    is created (I can see its name in the directory I created it).
    I can open the JPEGS with the Paint software if I want but not with the Windows Photo Viewer.
    I have the feeling that the Windows Photo Viewer disapeared from my computer - just a feeling.
    I will appreciate your assistance.
    Avi T. 2014

    Hi,
    Did Windows Photo Viewer option appear when you right click the JPEG file and select open with?
    I would like suggest you use Clean Boot to troubleshoot if there is third-party software conflict:
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135
    Karen Hu
    TechNet Community Support

  • Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.

    Version 8.1 Can't Activate, Can't Update, Can't create/export NX *.prt Files to 3D PDF. Screen Capture feature does not properly represent Model/Bodies. Printing from NX does not recognize Adobe Acrobat 3D as a printer to try and export.
    I was able to register it though.

    Not a surprise. The Acrobat 8 product family passed into End of Support back in 2011.
    Be well...

  • Hello my name is Yasser Prnak.Email'm from Iran and I want to know What did a bad job Can not Create an Apple ID? Only Because It was born in Iran? Please create one Apple ID fir me  because I'm in Iran Born

    hello my name is Yasser Prnak.Email'm from Iran and I want to know What  did a bad job Can not Create an Apple ID? Only Because It was born in  Iran? Please create one Apple ID fir me  because I'm in Iran Born

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I am in south africa, just bought a voucher for us$ to get stuff from US itunes....but i can not create us itunes account, i am in south africa, just bought a voucher for us$ to get stuff from US itunes....but i can not create us itunes account

    how can i buy stuff in US istore with a voucher i just bought.... I am in South africa and can not create a itunes account in the US

    You can't, you can only buy content from your own country's store - to be able to buy from another country's store you need a valid billing address in that country and be in that country when buying from it. You will either need to make do with what is in the South African store (and I know that it hasn't got the same content as in other countries), or for music you could use other music purchase download sites that you have access to (and you can copy your own CDs).

  • I can not transfer apps from my itunes onto my ipod and my ipod wont connect to the internet and is wiped any ideas ??

    i can not transfer apps from my itunes onto my ipod and my ipod wont connect to the internet and is wiped any ideas ??

    If yes theres something wrong with your iPod touch...Maby you drive to an apple store and go to genius bar..I'm sure that they will now more

Maybe you are looking for

  • How to reinstall my Photoshop CS4 on my new computer (Win 8.1 64 bit)

    How to (re) install my Photoshop CS 4 on my new computer (ASUS with win 8 64 bit) It worked on my old computer with win 7,32 bits until the computer crashed.

  • Open the Web Console when a pop-up opens

    Suppose I am working with a webpage and I have the console open. Then, I click in an element, and the javascript code that handles the event decides to open a new window. That window does not have the console open, so I miss some details of the http

  • Run Report

    Hi I am trying to run report but is nothing to do. DECLARE      report_id Report_Object;      vc_ReportServerJob VARCHAR2(100);      vc_rep_status VARCHAR2(100);      vjob_id VARCHAR2(100); BEGIN      report_id:= find_report_object('MYREPORT1');     

  • Best setting for my set of devices

    I would like to know what would be the best settings to get the maximum throughput for my set of devices. Last night both Airport Extreme and Airport Express were updated with firmware to 7.5.2 1) Upstairs I have an Airport Extreme. Newer version wit

  • Line Spacing/Leading

    Does anyone know how to adjust line spacing or leading for text in DVD Studio Pro?????