Error using wscompile tool.

Hi, I'm trying to generate stub files from wscompile tool.
But it is giving me following error
modeler error: model error: undeclared namespace prefix: ""
at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:274)
at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
Does anybody know the cause.
I've seen the same question in forum but unable to find get the reply.
Thanks in advace
Regards,
Piyush

I'm new to Web Services so I'm just guessing, but perhaps you need to add -classpath lib/foo.jar;lib/bar.jar to specify where your class-files are.

Similar Messages

  • Error using DB Tools Insert Data.vi

    Hi
    I am trying to insert data into a Paradox database and I am getting the following error:
    "Error -2147467259 occurred at Conn Execute.vi->DB Tools Create Table.vi->DB Tools Create Table If Not Exist.vi->DB Tools Insert Data.vi->Header Infromation 20061019 two inserts.vi
    Possible Reasons: Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Paradox Driver] The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data. in Conn Execute.vi->DB Tools Create Table.vi->DB Tools Create Table If Not Exist.vi->DB Tools Insert Data.vi->Header Infromation 20061019 two inserts.vi"
    Right now the vi is set up to create a table if one does not exist.
    Any Suggestions on this .

    Hello Shani,
    Have you had a chance to look over the other questions Crystal asked above?  Those answers will help us to better help you.  I also found the following discussion forum - I know they are using a different database, but I think you can tweak the solution so it works for you too. 
    Have a fantastic Wednesday!
    Janell R | Applications Engineer

  • Error using odiinvokewebservice tool

    I get this error when I try to access the wsdl at location
    http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
    com.sunopsis.wsinvocation.SnpsWSInvocationException: com.sunopsis.wsinvocation.SnpsWSInvocationException: Cannot connect
         at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:95)
         at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:126)
         at com.sunopsis.graphical.wsclient.RequestWsPane$17.doInBackground(RequestWsPane.java:1691)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: com.sunopsis.wsinvocation.SnpsWSInvocationException: Cannot connect
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:144)
         at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:89)
         ... 8 more
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:249)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
         at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:107)
         ... 9 more
    Any pointers to fix it?

    Hi ,
    Can anyone pls help me..
    I am also getting the same error when tryingto invoke a JAX_WS wsdl with inline schema.
    ODI-20362: Couldn't connect to webservice.
    In the detailed part I am getting as follows:
    com.sunopsis.wsinvocation.SnpsWSInvocationException: com.sunopsis.wsinvocation.SnpsWSInvocationException: This URL does not point to a valid WSDL
        at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:95)
        at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:126)
        at com.sunopsis.graphical.wsclient.RequestWsPane$17.doInBackground(RequestWsPane.java:1691)
        at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:139)
        at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
        at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: com.sunopsis.wsinvocation.SnpsWSInvocationException: This URL does not point to a valid WSDL
        at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:132)
        at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:89)
        ... 8 more
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Error importing schemas: java.io.IOException: Unable to parse schema at 'http://172.18.41.47:7001/GenericErrorHandlerWSApp-GenericErrorHandlerWS-context-root/ErrorHandlerWSPort?xsd=1': Expected 'EOF'.
        at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.unmarshall(SchemaSerializer.java:76)
        at oracle.j2ee.ws.wsdl.extensions.ParseUtils.createExtensibilityElement(ParseUtils.java:112)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:1505)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:790)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:707)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:656)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:648)
        at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:128)
        ... 9 more
    Caused by: java.io.IOException: Unable to parse schema at 'http://172.18.41.47:7001/GenericErrorHandlerWSApp-GenericErrorHandlerWS-context-root/ErrorHandlerWSPort?xsd=1': Expected 'EOF'.
        at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.readSchemaFile(SchemaSerializer.java:186)
        at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.loadReference(SchemaSerializer.java:138)
        at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.processImportIncludeRedefine(SchemaSerializer.java:108)
        at oracle.j2ee.ws.wsdl.extensions.schema.SchemaSerializer.unmarshall(SchemaSerializer.java:73)
        at oracle.j2ee.ws.wsdl.extensions.ParseUtils.createExtensibilityElement(ParseUtils.java:115)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:1505)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:790)
        at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:708)
        ... 12 more

  • WSCOMPILE tool error

    Hi all,
    I have made a small code (just an interface and it's implementation)for JAX-RPC API.
    Made a config.xml file
    made a web.xml file.
    compiled my classes.
    then i have used WSCOMPILE tool as
    wscompile -cp ../* -gen server config.xml.
    an exception coming as
    error:modeller error:java.lang.NullPointerException.
    anyone expereince?.plz tell me the issues with wscompile tool.

    Please post JAXRPC related questions to [email protected]
    Can you include the entire stack trace?

  • Photoshop CS4 "Program Error" when using Text tool

    Hello. I was having problems with Photoshop displaying a "Program Error" every so often, so I deleted the preference file and all seemed good. But after deleting the preference file for my Photoshop CS4 and re-launching Photoshop, the text tool causes Photoshop to display a Program Error when using the tool. It never did this before. Should I reinstall Photoshop? I am using a Powermac G5 running 10.5.8. I have already tried repairing the disk permissions.
    Thanks

    Thats kinda what I thought too, but the problem started happening randomly. It started when we were trying to use photomerge with large photos. The program just started giving the program errors. I still think it may be a font problem, but without going through my 2000+ fonts and disabling them one by one, how can I resolve this issue?
    Thanks

  • Error while building  the eclipse using exadel tool

    hi all
    i m facing a problem while building project using eclipse tool called(exadel ).it gives error like "integarted external building tool error - : variable references non existent resource :${workspace_loc:/my project not found}".
    so if anybody have idea about above pls let me know

    This problem come directly from your Exadel or Eclipse IDE itself.
    It means that a directory (which is your project directory) is not available in your worspace dir.
    usually workspace dir is inside your user home dir.
    check to see whether this folder exisits or not.

  • Error using the SQL conversion tool for Hand Held Management 7

    This is for Zenworks 7 HandHeld Management.
    I can't seem to find any mention of the SQLConv.exe tool in the
    documentation for Hand Held Management??
    Does any one have any?
    Also when using this tool I get the following error message:
    Error: DB-29 Database Message (1 of 2)
    Thursday, October 05, 2006
    An error occurred while executing the SQL command <CREATE
    DATABASE [ZENHM]>.
    Error: GEN-2 General Message (2 of 2)
    Thursday, October 05, 2006
    A database exception was caught: <>.
    ODBC Return Code: <-2>
    Return Code Meaning <>
    Additional Information: <>

    cactus,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Getting error while fetching Log data using B1TE Tools

    Hi,
    i am using B1TE Tools to test an add on which generating an error while fetching the Log File using DI Logs Reader. The error is below:
    "Wrong Xml file format. "The data at the root level is invalid, Line 1, position 1.".
    please report it on B1TE blog"
    Please help..
    Regards,
    Sunita

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • Use snipping tool, try to send as attachments creates error

    I am a desktop tech and I have seen other posts re: this issue but nothing has worked - While using snipping tool and use send as attachment to recipient, error in Outlook "messaging interface has returned an unknown error.  If problem persists start
    Outlook again".  We run Office 2007 and Vista Enterprise.  Tried Outlook diagnostics, and 'tablet pc optional components' is enabled to no avail.  Any thoughts?

    Hi,
    Can you save the attachment without sending as attachment first?
    Can you send a website as an attechment?
    We need to clarify if this is a snipping tool issue or Outlook issue.
    At this point, you may try to start Outlook in Windows clean boot mode to check if it helps.
    Refer to the steps given in the link below to start computer inclean boot:
    http://support.microsoft.com/kb/929135
    Note: Ensure to restart the computer to normal mode once troubleshooting is completed.
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Problem on "error: modeler error: model error" by using wscompile

    When I use wscompile to generate the client stub, I get the follwoing error:
    error: modeler error: model error: invalid entity name: "BaseFaultType" (in name space: "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd")
    What is the problem mean? And What I should do with it?
    Thanks a lot.

    Ershad Ahmed wrote:
    Hi Swathi,
    >
    > Before performing the restore i would always restore control file from the backup to make sure that restore is working
    Hi,
    he already restored 30%, so I think we can safely assume at least some stuff did work.
    Allthough I agree that since the controlfile is saved last, this is a good test.
    Seems to be either a dirty tape (clean drive, repeat) or a faulty backup ( ugh ).
    When you retry after cleaning, you can use -f (fillup) to save the restore from retrieving the files it allready got.
    Check the initSID.sap for the backup  & restore commands and esp. the bs= / ibs= / obs= options.
    Volker

  • Error while using Test tool -WE19

    Hi All,
    When I am trying to use Test tool for IDOC processing ( WE19) in R/3 System for any  Basic Type ,for example: PEXR2002 and select the Standard Outbound Processing, I am getting the message as “Port does not exist in the table of port descriptions.”
    Is this error something where port configuration is missing or some standard error.
    Please provide your inputs.
    Regards
    Pragya Dubey

    Hello Dubey,
    Check it once u r configaration..
    Step by Step Procedure..
    Create the tRFC port definition
    Refer to the following steps to create the tRFC port definition.
    1. SAP transaction code: WE21 – Type /nwe21 on the SAP input window and press the
    Enter key.
    2. Highlight Transactional RFC.
    3. Click the Port pull-down menu, which is located in the upper left corner of the SAP
    screen. Click Create (or press F7).
    4. Select the own port name radio button.
    5. Type a port name such as ALEport. If you use a port name different from this, update
    Table 2 at the beginning of this chapter for future reference.
    6. Click the green check icon to continue.
    7. Fill in the description field with tRFC port (You are free to write anything you want here).
    8. Fill in the RFC destination field with ALESERVER. This must match the name you used on the previous RFC Destination step. If the name you enter here does not exist, the
    system will flag an error and you will need to provide an existing RFC destination.
    9. Make sure that IDoc record types SAP Release 4.x is selected.
    10. Click on save.
    Thanks,
    Satya Kumar
    Reward points if it is useful..

  • Error when try to use cmd tools (copylocale, mxmlc, etc)

    Hi guys,
    I have a Windows 7 64Bits with Java Jdk 1.7.0_25 64Bits (with Jre).
    When I try to use cmd tools that came with Flash Builder 4.7, I get the following error:
    Command: copylocate en_US pt_PT
    Error:
         Error loading: D:\Software\Java\jdk1.7.0_25\jre\bin\server\jvm.dll
    The same error occore when try to use mxmlc.
    I have the JAVA_HOME defined with D:\Software\Java\jdk1.7.0_25
    I allready try to reinstall everything and show me the same error.
    Can anyone help me?
    Thanks,
    Pedro Quintas

    Hello again Joe Bo... and all of others,
    I´m with a doubt after installing the CPU patch, which is related to post-installation tasks. I´m in this momment install the SAP System and it was during this installation that sapinst asked me to install the database and all other activities after this installation that are related to the database, for example, the updating of database patches.
    At README file in chapter 3.3.2 Post Installation Instructions is described the following:
    After installing the patch, perform the following actions:
    1.Load modified .sql files into the database, as explained in Section 3.3.2.1.
    2.Recompile views in the database, if necessary, as explained in Section 3.3.2.2.
    In this momment, as you certainly know, I still don´t have a database because the sap system isn´t yet totally installed (I´m in phase 8 of sapinst wizard).
    I only have to do this "Post Installation Tasks" when I have a database, this database will be created after that phase 8 - so now I don´t need to perform the post steps... am I right?
    Thanks in advance,
    João Dimas - Portugal

  • Is there any blog or examples to handle the errors without using ESB tool kit.

    Hello,
    I have been trying to work with error handling since last week but I dont understand how to construct the error message. Is there any blog or examples to explain handle the errors step by step from scratch without using ESB tool kit.Can anybody help me out.
    Thanks in advance.

    You can use option 3 to construct the error message inside orchestration.
    Before using a BizTalk XML Message inside an orchestration, it must first be constructed. In fact this is just populating the message with XML. If there is an attempt to use this message before it is constructed, the above error will come. Some messages
    come pre-constructed, such as messages that originate from a send port
    There are several ways to construct a message inside an orchestration:
    Create a new message from an existing message using BizTalk map
    Assign one message to other(i.e. creating a copy of an existing message)
    Creating a message with the help of a System.XML.XMLDocument variable
    We have to first declare an orchestration variable of type XmlDocument. Then in a message assignment shape, we need to do something like this:
    myxmlDoc = new XmlDocument();
    myxmlDoc.LoadXML("<somexmlhere></somexmlhere>")
    myMsgBeingConstructed = myxmlDoc;
    Abhijit Mahato - Microsoft Community Contributor 2011 - MCTS BizTalk Server blog: http://abhijitmahato.wordpress.com/ Please "Mark as Answer" if Post has Answered the Question

  • Error / fails to connect Oracle data source using deploy tool

    Hi,
    I want to deploy SAP AS on my company's J2EE application. I deployed the application using Deploy Tool successfully. The application is started without error.
    When I tried connecting the log on page.  I got error in LogViewer:
    Error while accessing porting layer for ORACLE database via getDatabaseHost().
    Relatives : com.sap.sql.jdbc.direct.DirectConnectionFactory
    Resource Bundlename : com.sap.sql.log.OpenSQLResourceBundle
    Source : /System/Database/sql/jdbc/direct
    Argument Objs : ORACLE,getDatabaseHost(),
    Where to look for debugging errors?
    -- Joe

    Hi Markus,
    I changed to Vendor SQL and set Initial Connection to 1.
    On Monitor tab, I see a green line running across the screen. 
    I believe this proves that the connection has been established.
    Thanks a lot!
    -- Joe

  • JWSDP - configuration error in using wscompile.bat to generate WSDL

    Hello all,
    I am new to JWSDP and am trying to generate a WSDL and jaxrpc mapping for my EJB SEI. I'm using JWSDP 1.4 and my interface has simple String datatypes as arguments. I'm getting the following error when I try to use wscompile.bat:
    error: only one configuration file can be specified: config.xml
    Usage: wscompile [options] configuration_file
    Use "wscompile -help" for a detailed description of options.I'm using the command as follows:
    wscompile -cp C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar -gen:server -f:rpcliteral -mapping jaxrpc-mapping.xml config.xml(client.jar contains the interface, and since it extends javax.ejb.EJBObject, I also included jboss-j2ee.jar in the CLASSPATH). My config.xml looks as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
      <service name="MyInterfaceService"
           targetNamespace="http://webservice.interfaces.test.com"
           typeNamespace="http://webservice.interfaces.test.com"
           packageName="com.test.interfaces">
           <interface name="com.test.interfaces.MyInterface"/>
      </service>
    </configuration>What am I doing wrong here? Would really appreciate any help.
    Thanks.

    Apparently for JWSDP, the command needs to be issued as follows:
    wscompile -cp "C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar" -gen:server -f:rpc
    literal -mapping jaxrpc-mapping.xml config.xml(Notice the quotes around the CLASSPATH)
    Hope this helps someone else.

Maybe you are looking for

  • No longer able to download from camera

    My first attempt to download some photos from my Canon MVX 450 went very smoothly. My second attempt, using the same method, had resulted in complete failure. There is no message on the screen. I amusing the same USB cable and the camera is connected

  • Mapping a constant attribute in OVD

    I am trying to set and attribute (employeeType) to a constant value in OVD based on the adapter. I tried going through the plug-ins and addAttribute-inetorgperson employeeType=SUN1, but this didn't work. Anyone out there set up any mappings like this

  • 1280x800 screen resolution is missing...

    Hello. I just purchased a Mac Mini, and I'm using it without a monitor attached. Instead, we use it as a media server in our house, and we access it using a remote connection (Chicken of the VLC). Unfortunately, I cannot get the Mac Mini's screen siz

  • Login to Domain Controller which is not in network

    Scenario I've taken an online clone of one of my Virtual Window 2003 Enterprise Domain Contoller which doesn't hold any roles. Removed the Clone Domain Controller from Network & powered it on. Now I want to log into that Domain Controller using my Do

  • I need instructions on how to setup officejet 8500g

    I need instructions on how to setup officejet 8500g This question was solved. View Solution.