Stub generation problem with the wsdl file

Hi all
I'm trying to write a simle webservice client based on JAX. My webservice is working fine I've tested it with a standalone app. In my webservice I'm using complex type. Problem is that i can't generate properly stubs. This is a msg I'm getting during the generation
warning: ignoring operation "getEmployee": message part does not refer to a schema element declaration
warning: Port "EmployeeIFPort" does not contain any usable operationsBecause of that my method to get the Object from the webservice is not generated.
This is the wsdl file.
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="EmployeeService" targetNamespace="urn:Foo" xmlns:tns="urn:Foo" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <types>
    <schema targetNamespace="urn:Foo" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:Foo" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <complexType name="Employee">
        <sequence>         
          <element name="name" type="xsd:string"/>
          <element name="surname" type="xsd:string"/>
       <element name="age" type="xsd:int"/>
     </sequence>
     </complexType>
    </schema>
   </types>
  <message name="EmployeeIF_getEmployee">
    <part name="String_1" type="xsd:string"/>
    <part name="String_2" type="xsd:string"/>
    <part name="int_3" type="xsd:int"/>
  </message>
  <message name="EmployeeIF_getEmployeeResponse">
    <part name="result" type="tns:Employee"/>
  </message>
  <portType name="EmployeeIF">
    <operation name="getEmployee" parameterOrder="String_1 String_2 int_3">
      <input message="tns:EmployeeIF_getEmployee"/>
      <output message="tns:EmployeeIF_getEmployeeResponse"/>
    </operation>
  </portType>
  <binding name="EmployeeIFBinding" type="tns:EmployeeIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getEmployee">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
      </input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="EmployeeService">
    <port name="EmployeeIFPort" binding="tns:EmployeeIFBinding">
      <soap:address location="http://localhost:8080/EmployeeService/getEmployee"/>
    </port>
  </service>
</definitions>However the complex type class Employee is generated properly as well as other stub classes like the interface EmployeeIF, EmployeeIF_getEmployee_RequestStruct and EmployeeIF_getEmployee_ResponseStruct (I mean i think they are generated properly). As I said befor the problem is that the webservice method from the EmployeeIF.getEmployee() is not generated in the EmployeeIF_Stub. Any ideas why? I'm using WTK 2.5
thx in advance :)

Here i Followed  Url &sap-user=XXX&sap-password=YYY to the WSDL-URL with XXX and YYY being your username and password and you will be authenticated.
Later i Struck. Actual my requirement is I have two views i want to take a value from the first view and then return value displayed in the second view. All input/output parameters are the taken from the WSDL file. Can you please Help me.

Similar Messages

  • I am Facing Problem with the WSDl File which is in the local SAP Server

    Hi All,
               Can you please give me solution of my Problem. Here i am working with the WSDl which is create from the SAP Local System. Now i want to take the wsdl file URL from the local server to my system.Here i Struck. can you please help me .
    thanks
    Siva...

    Here i Followed  Url &sap-user=XXX&sap-password=YYY to the WSDL-URL with XXX and YYY being your username and password and you will be authenticated.
    Later i Struck. Actual my requirement is I have two views i want to take a value from the first view and then return value displayed in the second view. All input/output parameters are the taken from the WSDL file. Can you please Help me.

  • For the last 2 days whenever I try to upload photos from my iPhoto page to facebook I get an error message: Bad Image There was a problem with the image file.  I haven't knowingly changed any settings on iPhoto or facebook. Can anyone help, please ?

    I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
    Bad Image
    There was a problem with the image file. 
    Please help.

    Can you drag it to the Desktop?

  • 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

  • How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    First, to access documents you must use an app designed for that specific Document type. So Pages will not be able to open PDFs. The Documents app by Readdle can handle PDFs though. In the latter case, you'd open the app, click the menu icon at its top left, and click Open to go to your iCloud Drive. With Pages, if you had files outside the main Pages folder, click + then iCloud and navigate to the file's location.
    Matt

  • Problem with the installation file

    Hello Everyone!
    I am trying to install Nokia Ovi Suite in my Windows 7 computer from yesterday, whenever I run the web installer file I am getting the Error Message as "Problem with the installation file" (attached as a jpeg file with this post).
    I have downloaded the exe file (approx 88.4MB from : http://nds1.nokia.com/files/support/global/phones/software/Nokia_Ovi_Suite_webinstaller_ALL.exe ) several times, still no luck.
    Anyone is having the solution for this problem?
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    Error Message.JPG ‏23 KB

    Hi SSA
    I've downloaded it so many times I nearly exceeded my download limit ! Seriously , I know others must be able to get it , so why is there a problem ?  I'm going to stop at the store where I purchased the phone and get THEM to try. If the sig is OK , I'm going to copy it and bring it home , if it's NOT OK then maybe they'll take it up with Nokia as they're the ones selling it to the ' happy customers' ..? When I first contacted support , they said to disable both firewall and A/V before attempting to download it ? I've downloaded thousands of files and never had to do that ? Sure ,you might have to disable something during installation , but not for the download ? I even did it in safe mode with networking and the same thing happened. I even asked if they could send me an install CD and they said NO.  Not happy about that either..We'll see what happens.. I like the phone ..I'd just like it to do what I bought it for !!

  • HT201210 i have problem with the firmeware file...and I do not know what is that

    i have problem with the firmeware file...and I do not know what is that

    Make sure you are updating your phone the correct way, by connecting to iTunes and clicking Check for Updates on the Summary tab of your iTunes sync settings.  Do not try to download the firmware file from the internet first.  Also be sure iTunes is up to date before updating.
    Delete the existing firmware (.ipsw) file and try again.  You will find it at one of the following locations:
    Mac OS X: ~/Library/Application Support/MobileSync/Backup
    Windows XP: %AppData%\Apple Computer\MobileSync\Backup
    Windows Vista: %AppData%\Roaming\Apple Computer\MobileSync\Backup
    Windows 7: %AppData%\Roaming\Apple Computer\MobileSync\Backup

  • Problem with the PNG file icon

    Hello. This is the first time I'm posting something here, so please be merciful. :) Yesterday I saw that the file icons of the PNG files are not the blue ones (like we all know them, after installing Photoshop CS3), but the default Windows (I'm using Windows XP SP3) icons. I mean like when I don't have a program to open a given file, that is how it looks like. But when I double click on the PNG file it opens right away, so in my eyes there is a problem, of some kind, with the ICO file itself. The strangest thing is that this ICO file is not missing, deleted or moved! This happened only with the PNG files. All other Photoshop related files are ok and have their respective icons. Can someone tell me how to change the PNG file icon, so I can choose manually the ICO file.

    @roshlioto This is a windows issue NOT Photoshops. So wrong place on the Internet.
    However, you right click on the shortcut/icon whatever, (in Windows) and choose the icon/app you wish to associate with a given file.

  • What's the problem with the .f4m file?

    f4m file content(not work):
    http://localhost:10009/UploadFiles/Video/Video/20128/201208141534459942.f4m
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest xmlns="http://ns.adobe.com/f4m/1.0">
      <id>Dynamic Streaming</id>
      <duration>59</duration>
      <mimeType>video/x-flv</mimeType>
      <mediaType>recorded</mediaType>
      <baseURL>rtmp://testserver/vod</baseURL>
      <media url="Video/Video/20128/201208141534459942_480x320_15fps_360kbps_flv" bitrate="360" width="480" height="320"  />
      <media url="Video/Video/20128/201208141534459942_640x480_15fps_768kbps_flv" bitrate="768" width="640" height="480"  />
      <media url="Video/Video/20128/201208141534459942_1280x720_15fps_1500kbps_flv" bitrate="1500" width="1280" height="720" />
    </manifest>
    The invidual file(work):
    rtmp://testserver/vod/Video/Video/20128/201208141534459942_480x320_15fps_360kbps_flv
    The invidual file's extension is ".flv",  what need i to modify to make the f4m file worked?

    In addition to the previous answers, the problem with the Seagate HD's involved in the recall is that they have a very high failure rate, to the extent that Apple expanded the recall to cover more computers than it initially did. For example, a user on Macintouch (another online Mac support community that is well worth checking out) reported that his company bought 40 iMacs and 25 of them needed their 1TB Seagate drives replaced.
    So if you can, get somebody with access to your computer to backup its HD as soon as possible if you don't already have a full backup.

  • Problem with the input file format to be stored in database

    Hi,
    I am facing some problem with the input format. I am using the table name as data.employee. But i could not able to process the message forward. I am getting this error,
    com.ibm.db2.jcc.c.SqlException: java.sql.Connection.close() requested while a transaction is in progress on the connection.The transaction remains active, and the connection cannot be closed.
    Can you please help me prposing a solution for this format.
    Thanks,
    SOorya

    I think you are missing out the COMMIT operation.
    At the DB2 end before closing the connection if you do a 'COMMIT' then this may remove your error.
    i.e. after you close the Resultset>close the statement object> perform 'COMMIT' operation--> then close the connection.
    Also refer :-
    http://www.dbforums.com/archive/index.php/t-976407.html
    http://www.dbforums.com/showthread.php?t=1628183
    I hope this will help you.
    Thanks,
    Vijaya

  • Problem with the DME file format MT101

    Hello Experts,
    We are generating the DME file format MT101 for bank data transfer for Portugal with program SAPLZFPAYM_SWIFT_PT .But sadly we found that the line 71A:SHA is missed.
    Noting that this problem occurs with payment method "U" which is similar to payment method "T" except the two fields "EU Internal Transfer" and "IBAN required" which are not ticked in transaction FBZP.
    When we use the payment method "T" it works fine but with payment method "U" the line 71A:SHA is missed.
    I made some tests and tried to find if those two mentionned fields are causing the problem or not and I found that this not the reason. It's related to other problem
    Any Ideas would be highly appreciable.

    Hello Experts,
    No idea about this issue ?
    Regards

  • Problems with the par file of Browse Deployment

    Hi,
    I had an error message with the com.sap.portal.support.browse.default in Browse deployment, that this iView is not found.
    Fortunately I had a file with the same name, so I uploaded it, but it was the wrong one (Why do they all have the same file name?). I uploaded the par file of the masthead, so every time i click on the browse deployment link I get the masthead and now I have no chance to download other par files.
    Do I still have the right iView on the Server or in the Portal? If yes, where? Or can anybody send me the right par file?
    e-Mail: Ulli_Arndt(at)gmx.de
    Thanks in advance!
    greetings,
    Ulrike

    Hello Ulrike,
    Most companies use different servers for development and Production. The Browse Deployment Option should be used only with the development server. If you're going to use it with the Production server, there could be problems, as the two servers have a different architecture.
    Once you sign in to the DEVELOPMENT SERVER using your user id, ensure that you have the Systems Administration Role and click on the tab corresponding to the same.
    Then select Support.
    Select Portal Runtime.
    Select Browse Deployment.
    Once you do this, you'll see a filepath on top of the page just below the top level navigation area. Here's where most people commonly make a mistake.
    Ensure that the breadcrumb is EXACTLy as follows:
    ROOT/WEB-INF/deployment/temp
    If this is not the case, clcik on ROOT in the filepath displayed on your screen and navigate along the filepath above so you reach the correct iView.
    You should now see a list of files with the extension .par.bak.
    Upon downloading any of these files, the downloaded .rar file for most of the files with have the same filename. Once you unzip this file once or twice, you'll get a .par.bak file with the same filename as the one you downloaded. Rename the extracted .par.bak file by removing the .bak extension. You'll be left with a .par extension now.
    You can now import this file in NWDS and work on it as required.
    I hope this helps. Let me know if you have anyfurther questions. Screenshots are alsways helpful, especially of the filepath on the top of your screen.
    Regards,
    Farsheed

  • Problems with the shared files of Windows Server 2003 and Mac

    I have some Mac computers in the domain of my LAN Network, and when I share a folder in Windows Server 2003 sometimes the Mac can not see and sometimes yes, but lasts a long time so that they can view folders. I have installed the protocol Apple Talk on the server and File Server and in the Domain Server.
    The folders when users have no security users or groups are immediately with a connection AFP, but if they have not already created security can be displayed with a connection AFP, but if you can visualize a connection with SMB, but I can not work with Quark 6.0 Pro files.
    What can I do to solve this problem.
    Asalomon

    The newer printers:
    canon irc3100
    canon ir5020-i have working on osx side, not in classic
    Older printers:
    hp laserjet 5m-2 of these
    hp 2200
    hp laserjet 5si-2 of these
    hp laserjet 4100
    These are installed on windows 2003 with mac print services running. I need to know what option i should use in osx when installing these network printers on these macs. When i go to printers folder, i chose windows printing then it prompts for the ppd file. I found it for the ir5020 but not the ir3100. I really need to test the hp laserjets in osx too. Ill post up when i test those. But that one canon (ir3100) is bothering me. They are roughly the same age and the drivers on the site don't seem to work.

  • UIX: Problem with the include file

    Hello,
    I am totally lost here. I am trying to follow the example of including a code snippet in an uix file from the user guide at: http://download-west.oracle.com/otn_hosted_doc/jdeveloper/904preview/uixhelp/uixdevguide/includes.html
    The parent file that I have is as follows ( test.uix )
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="test"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <pageLayout title="test">
    <corporateBranding>
    <image source="" destination="http://oracle.com"/>
    </corporateBranding>
    <productBranding>
    <image source="" destination="http://oracle.com"/>
    </productBranding>
    <tabs>
    <tabBar>
    <contents>
    <link text="tab1" destination=""/>
    </contents>
    </tabBar>
    </tabs>
    <pageHeader>
    <globalHeader>
    <contents>
    <link text="page header" destination=""/>
    </contents>
    </globalHeader>
    </pageHeader>
    <globalButtons>
    <include ctrl:node="testinclude"/>
    </globalButtons>
    <copyright>
    <styledText text="Copyright Oracle 2006"
    styleClass="OraCopyright"/>
    </copyright>
    <privacy>
    <link text="Privacy Statement" destination=""/>
    </privacy>
    <contents/>
    <pageButtons/>
    <start/>
    <end/>
    <about/>
    </pageLayout>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    The include file that I have is as follows ( testinclude.uix )
    <?xml version="1.0" encoding="windows-1252"?>
    <globalButtonBar xmlns="http://xmlns.oracle.com/uix/ui">
    <contents>
    <globalButton text="first button"/>
    <globalButton text="second button"/>
    </contents>
    </globalButtonBar>
    When I try to compile the test.uix ( which is my parent file ) I get the following error message:
    Warning(45,59): test.uix: Parsing error, line 45, column 59: attributes in the namespace:http://xmlns.oracle.com/uix/ui are only allowed with the "data" expressionLanguage
    How can I resolve this ?
    This is what I am trying to do - and maybe there is a better way:
    I have an application with two tabs, each tab has two (or more) subTabs/PageHeaders. Each pageHeader has a sideNav with atleast three elements. Each of the element goes to a differnt page. So far I have managed to create a template for the tabs and the pageHeaders. I do the switch for the pageheaders using the switcher element with the tabSelectedIndex as my "case". However I could not figure out a way to do the switcher based on the tab and the page header selected ( two conditions ), hence I thought of writing an include file with the sideNav and including it in the code corresponding to the page headers ( the code that I have posted is a very simple globalButton include - this is the most simplest thing that I could think of to experiment )
    Thanks !

    Perhaps if you try like this
    <sideBar rendered="${uix.rootAttr.indiceTopo != -1}" width="220">
    <contents>
    <include rendered="${uix.rootAttr.indiceTopo == 0}"
    node="${ctrl:parsePage(uix,'/MeuAmbiente/menuMeuAmbiente')}"/>
    <include rendered="${uix.rootAttr.indiceTopo == 1}"
    node="${ctrl:parsePage(uix,'/Declaracao/menuDeclaracao')}"/>
    note , this include tag is inside one mainTemplate.uit and see the rendered atribute is passed by parameter to this template.
    As a metter of fact menuMeuAmbiente.uix is only the stiledlist tag and it's styledItens, i have one menu<Module>.uix for each superior tab
    I hope this helps;

  • Ergent problem with the jsp file access in tomcat. HELP...

    I use tomcat as my server, I have one JSP file located in :
    webapps\abc\war\WEB-INF\jsp\index.jsp
    You see my project name is abc, I want to access the index.jsp file, I define another jsp file in the path: webapps\abc callled outside.jsp. I want to use outside.jsp to invoke the index.jsp.
    Inside outside.jsp it is :
    <html>
    <head>
    <title>index</title>
    </head>
    <body>
    <%@ include file="war/WEB-INF/jsp/index.jsp" %/>
    </body>
    </html>
    When I open the browser, and access, http://localhost:8080/abc/outside.jsp , the content of index.jsp was shown as expect. But, all the link pages of the index.jsp can not shown (PS: the link pages is located in the same path as index.jsp, they are all jsp files). I guess the problem may be that the <%@ include file="war/WEB-INF/jsp/index.jsp" %/> inside outside.jsp include the index.jsp as a static file. Is there any method to make all the link pages of index.jsp can be shown when call from outside.jsp???HELP
    Message was edited by:
    Mellon
    Message was edited by:
    Mellon

    I don't know why your links can't be shown, but I can tell you that your suspect:
    I guess the problem may be that the <%@ include file="war/WEB-INF/jsp/index.jsp" %/> inside outside.jsp include the index.jsp as a static file.is wrong, because included jsp is dynamic, not static.

Maybe you are looking for

  • SAP EarlyWatch Alert in SAP ECC and SAP PI

    Hi Experts, Every week in SAP EarlyWatch Alert report in PI as well as SAP ECC, shows PI consuming highest resource in SAP ECC by the SAPMHTTP. Example as below: Initial System Initial Action Total Resp. Time in s % of RFC Load Avg. Response Time Avg

  • How can  I access my java class file in a .jar file ...PLz Help anyone!!

    Hi Folks, I am new in Java programming, have a .jar file that contains .java files that I want no access and use from another .java file. These files in the .jar file basically form a library thus have no main-method. However I can not declare an ins

  • Error in phase 42 during installation of NW2004s SR1

    I am getting this 2 errors in 42nd phase of installation of NW2004s SR1 in my system. Pl. suggest the solution for this. ERROR 2007-12-13 12:42:10 CJS-30071  Execution of UTL tool 'C:\Sap_Basis\j2sdk1.4.2_13\bin\java.exe -classpath C:\usr\sap\AB8\SYS

  • Hard drive will not mount after optical drive upgrade

    I recently performed an optical drive install. Had to remove the hard drive bays (I use three hard drives - Luckily, 2 run OSX). I carefully removed all three drive bays and the empty bay. When I inserted the drives into the computer I had changed th

  • Help finding files for SSO

    Hi everyone, We're trying to setup SSO at my company using this article (we're on Apex 3.1.2): http://www.oracle.com/technology/products/database/application_express/howtos/sso_partner_app.html Everything is going smoothly so far, but we're now caugh