REgistering WSDL file in axis

Hi
I have a WSDL file called "hello.wsdl" and I need to register it with axis. Please let me know how to do it.
Thanks in advance
Prashanth

Hi
Can anyone give me any pointers on this.
I need to move my form to production but I don't know how I am going to setup the connection to the wsdl file.
I can't point it to the url of the wsdl as I get an error stating that the url is not valid or the file is not a valid wsdl file.
Thanks

Similar Messages

  • Problem with Axis Adapter endpoint url in WSDL file.

    Dear experts,
    We are using PI 7.1 ehp1 with a SOAP to RFC scenarios using the Axis adapter.
    We have the XIAxisAdapter as sender Communication Channel and the related Sender Agreement.
    When i am looking into the WSDL file of the Sender Agreement than the endpoint contains ...location="host:port/ XISOAPAdapter /MessageServlet"... in stead of ...location="host:port/ XIAxisAdapter /MessageServlet"...
    The url with "XISOAPAdapter " will not work. When i export the WSDL file and manually adjust the location to "XIAxisAdapter " everything works fine.
    Is it possible to directly generate a correct WSDL with calling the url http://host:50000/dir/wsdl?p=xxxx?
    Thanks in advance!
    Best regards,
    Joost Weghorst

    Hi Sonya,
    You can use configuration plan while deploying composite.
    The configuration plan enables you to define the URL and property values to use in different environments. During process deployment, the configuration plan is used to search the SOA project for values that must be replaced to adapt the project to the next target environment.
    Please refer this doc. for getting introduced to config plan.
    http://docs.oracle.com/cd/E29542_01/dev.1111/e10224/sca_lifecycle.htm#SOASE10908
    To deploy soa composite with config plan refer this doc:
    http://docs.oracle.com/cd/E29542_01/dev.1111/e10224/sca_lifecycle.htm#SOASE85469

  • Generate WSDL File from Management Console?

    Hi,
      I am trying to enable a batch job as a web service. So I registered the batch I want and I copied the whole file from the u201CView WSDLu201D button. Now I am trying to use axis1.1 to generate the code and am getting errors. Is this supposed to generate a fully working WSDL file?
    The first error I get is
    org.xml.sax.SAXException: Error: URI=file:/c:/axis/BO.wsdl Line=10: Undeclared prefix in name: "xsd:schema".
            at org.apache.axis.utils.XMLUtils$ParserErrorHandler.error(XMLUtils.java:619)
            at org.apache.crimson.parser.Parser2.error(Unknown Source)
            at org.apache.crimson.parser.Parser2.processName(Unknown Source)
            at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
            at org.apache.crimson.parser.Parser2.content(Unknown Source)
            at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
            at org.apache.crimson.parser.Parser2.content(Unknown Source)
            at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
            at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
            at org.apache.crimson.parser.Parser2.parse(Unknown Source)
            at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
            at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
            at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
            at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:384)
            at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
            at java.lang.Thread.run(Unknown Source)
    So I add
    xmlns:xsd=http://www.w3.org/2001/XMLSchema
    to my WSDL file. Then I get
    org.xml.sax.SAXException: Error: URI=file:/c:/axis/BO.wsdl Line=1393: Undeclared prefix
            at org.apache.axis.utils.XMLUtils$ParserErrorHandler.error(XMLUtils.java:619)
            at org.apache.crimson.parser.Parser2.error(Unknown Source)
            at org.apache.crimson.parser.Parser2.processName(Unknown Source)
            at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
            at org.apache.crimson.parser.Parser2.content(Unknown Source)
            at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
            at org.apache.crimson.parser.Parser2.content(Unknown Source)
            at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
            at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
            at org.apache.crimson.parser.Parser2.parse(Unknown Source)
            at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
            at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(Unknown Source)
            at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
            at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:384)
            at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
            at java.lang.Thread.run(Unknown Source)
    So I add
    xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/
    Now I am getting other errors
    C:\axis>java -classpath C:\j2sdk1.4.2_18\lib\tools.jar;C:\axis\axis-1_1\lib\axis.jar;C:\axis\axis-1_1\lib\axis-ant.jar;C:\axis\axis-1_1\lib\commons-lo
    gging.jar;C:\axis\axis-1_1\lib\commons-discovery.jar;C:\axis\axis-1_1\lib\saaj.jar;C:\axis\axis-1_1\lib\jaxrpc.jar;C:\axis\axis-1_1\lib\wsdl4j.jar;C:\
    axis\axis-1_1\lib\log4j-1.2.8.jar org.apache.axis.wsdl.WSDL2Java -a c:\axis\BO.wsdl
    WSDLException (at /definitions/message[1]/part): faultCode=INVALID_WSDL: Unable to determine namespace of 'di_Wait_Profiling_Task_Output:PF_Task_Response'.:
            at com.ibm.wsdl.util.xml.DOMUtils.getQName(Unknown Source)
            at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(Unknown Source)
            at com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(Unknown Source)
            at com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(Unknown Source)
            at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
            at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
            at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
            at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:406)
            at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
            at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
            at java.lang.Thread.run(Unknown Source)
    So I was curious if this was supposed to be the complete WSDL file?
    Thanks in advance

    I tried with 11.7.3.7, using the following command and using axis jar files that are bundled with DI
    it did generate the java classes successfully
    I don't think there is much difference between 11.7.3.5 and 11.7.3.7
    java -classpath "C:\j2sdk1.4.2_18\lib\tools.jar;%LINK_DIR%\ext\lib\axis.jar;%LINK_DIR%\ext\lib\commons-logging.jar;%LINK_DIR%\ext\lib\commons-discovery.jar;%LINK_DIR%\ext\lib\saaj.jar;%LINK_DIR%\ext\lib\jaxrpc.jar;%LINK_DIR%\ext\lib\wsdl4j.jar;%LINK_DIR%\ext\lib\log4j-1.2.8.jar" org.apache.axis.wsdl.WSDL2Java -a c:\axis\BO.wsdl
    let me know if its works for you, otherwise will check in 11.7.3.5
    how are you using these classes ? for calling a Job published as web service, you could write a simple java client application and passing the SOAP request for calling the batch job

  • Error while creating Adaptive WS model(SP17) using local WSDL file

    Hi,
    I am trying to create a model with the wizard for adaptive Web Services, without using logical destinations. I have download the file from PI Server. This WSDL file is not registered in UDDI. But when I try to upload my WSDL from local disc I get an error message, which defines in the .log file like this:
    Plugin name: Web Dynpro Model Editor
    Plugin ID : com.sap.ide.webdynpro.modeleditor
    Class : om.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameW
    Method : loadNameSpacesAndModelClasses
    Message : Cannot load NameSpaces and ModelClasses
    Exception  : java.lang.NullPointerException: null
    Earlier when i was using "WebService model", i was able to create the model successfully.
    Do help me how to reslove this problem.
    Regards,
    Raj

    Did u use "webservice model" or "adaptive webservice model".
    Earlier i used with "wenservice model" and it was working fine. Now that with SP17, "WebService model"is depricated and we are forced to use "adaptive webservice model" and it is giving the problem. the detailed error is :
      Exception  : java.lang.NullPointerException: null
    <i>!STACK 0
    java.lang.NullPointerException
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters_DocumentStyle(DOperationImpl.java:59)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters(DOperationImpl.java:46)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.<init>(DOperationImpl.java:40)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.initOperationNameToOperationMapping(DInterfaceImpl.java:150)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.<init>(DInterfaceImpl.java:55)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.initPortNameToInterfaceMapping(DGenericServiceImpl.java:78)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)</i>

  • Getting an Error while uploading a WSDL file into ServiceRegistry

    Hi,
       I am trying to uploading a WSDL file into ServiceRegistry with following URL:
        file://PEPWUL32116/D:/shared/ORDER.wsdl
       but I am getting the error below:
    com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: java.lang.IllegalArgumentException:   Unsupported protocol. Supported protocols are http and https->java.lang.IllegalArgumentException: Unsupported protocol. Supported protocols are http and https
    Is there a way to upload a local WSDL into registry.
    Thanks

    Rama ,
    Look into the error...
    file://PEPWUL32116/D:/shared/ORDER.wsdl
    but I am getting the error below:
    com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: java.lang.IllegalArgumentException: Unsupported protocol. Supported protocols are http and https->java.lang.IllegalArgumentException: Unsupported protocol. Supported protocols are http and https
    > not the right way of registering a service ...Use HTTP or HTTPS...protocol rather than file . It is not a FTP site
    more over D: should not be used..
    Regards ,

  • Error while deploying wsdl file to OER...

    I have installed OER(11.1.1.2) and trying to integrate with jdeveloper(11.1.1.5)...
    i have followed oracle suggested document while integration ...
    the problem while trying to deploy the file wsdl file to OER i am getting the following error
    Buildfile: D:\Oracle\Middleware1\jdeveloper\harvester\harvester-ant.xml
    introspect-file:
    [repository.submit] Unable to initialize harvester plugin: D:\Oracle\Middleware1\jdeveloper\harvester\plugins\osb10.productReader
    [repository.submit] Oracle Enterprise_Repository_Harvester version: v11.1.1.5.0-110414_0001-1399976
    [repository.submit] Unable to initialize harvester plugin: D:\Oracle\Middleware1\jdeveloper\harvester\plugins\osb10.productReader
    [repository.submit] Aug 11, 2011 12:53:17 PM org.apache.axis.attachments.MimeUtils getContentLength
    [repository.submit] SEVERE: Exception:
    [repository.submit] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain
    [repository.submit]      at javax.activation.DataHandler.getInputStream(DataHandler.java:233)
    [repository.submit]      at javax.activation.DataHandlerDataSource.getInputStream(DataHandler.java:688)
    [repository.submit]      at org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:115)
    [repository.submit]      at org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:60)
    [repository.submit]      at org.apache.axis.attachments.AttachmentsImpl.getContentLength(AttachmentsImpl.java:406)
    [repository.submit]      at org.apache.axis.Message.getContentLength(Message.java:501)
    [repository.submit]      at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:371)
    [repository.submit]      at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    [repository.submit]      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    [repository.submit]      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    [repository.submit]      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    [repository.submit]      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    [repository.submit]      at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:2748)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:2424)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:2347)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:1804)
    [repository.submit]      at com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.assetMetadataCreateDIME(FlashlineRegistryTrSoapBindingStub.java:16008)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.ALERFacade.assetMetadataCreate(ALERFacade.java:757)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:961)
    [repository.submit]      at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.createMetadataEntry(AttributeSaverImpl.java:237)
    [repository.submit]      at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.saveAttributes(AttributeSaverImpl.java:69)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.saveAttributes(OERWriter.java:1247)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:434)
    [repository.submit]      at com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:179)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:574)
    [repository.submit]      at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.createArtifactEntity(MetadataEntityWriterImpl.java:74)
    [repository.submit]      at com.oracle.oer.sync.plugin.artifact.wsdl.WSDLArtifactWriter.createArtifactEntity(WSDLArtifactWriter.java:33)
    [repository.submit]      at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.write(MetadataEntityWriterImpl.java:49)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.createEntities(OERWriter.java:333)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:279)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:221)
    [repository.submit]      at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:666)
    [repository.submit]      at com.oracle.oer.sync.framework.ant.IntrospectTask.performRepositoryWork(IntrospectTask.java:314)
    [repository.submit]      at com.oracle.oer.sync.framework.ant.RepositoryTaskBase.execute(RepositoryTaskBase.java:182)
    [repository.submit]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [repository.submit]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [repository.submit]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [repository.submit]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [repository.submit]      at java.lang.reflect.Method.invoke(Method.java:597)
    [repository.submit]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [repository.submit]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [repository.submit]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [repository.submit]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [repository.submit]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [repository.submit]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [repository.submit]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [repository.submit]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [repository.submit]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [repository.submit]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [repository.submit]      at org.apache.tools.ant.Main.start(Main.java:179)
    [repository.submit]      at org.apache.tools.ant.Main.main(Main.java:268)
    [repository.submit] Aug 11, 2011 12:53:17 PM org.apache.axis.attachments.MimeUtils writeToMultiPartStream
    [repository.submit] SEVERE: java.io.IOException:
    [repository.submit] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related; type="text/xml"; start="<7C0BB8BEF8426D99CB1155AAA88AE37E>";
    [repository.submit]      boundary="----=_Part_0_32955489.1313047397642"
    [repository.submit]      at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:877)
    [repository.submit]      at javax.activation.DataHandler.writeTo(DataHandler.java:302)
    [repository.submit]      at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
    [repository.submit]      at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
    [repository.submit]      at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtils.java:202)
    [repository.submit]      at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:461)
    [repository.submit]      at org.apache.axis.Message.writeTo(Message.java:534)
    [repository.submit]      at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:511)
    [repository.submit]      at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    [repository.submit]      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    [repository.submit]      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    [repository.submit]      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    [repository.submit]      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    [repository.submit]      at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:2748)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:2424)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:2347)
    [repository.submit]      at org.apache.axis.client.Call.invoke(Call.java:1804)
    [repository.submit]      at com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.assetMetadataCreateDIME(FlashlineRegistryTrSoapBindingStub.java:16008)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.ALERFacade.assetMetadataCreate(ALERFacade.java:757)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:961)
    [repository.submit]      at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.createMetadataEntry(AttributeSaverImpl.java:237)
    [repository.submit]      at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.saveAttributes(AttributeSaverImpl.java:69)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.saveAttributes(OERWriter.java:1247)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:434)
    [repository.submit]      at com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:179)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:574)
    [repository.submit]      at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.createArtifactEntity(MetadataEntityWriterImpl.java:74)
    [repository.submit]      at com.oracle.oer.sync.plugin.artifact.wsdl.WSDLArtifactWriter.createArtifactEntity(WSDLArtifactWriter.java:33)
    [repository.submit]      at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.write(MetadataEntityWriterImpl.java:49)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.createEntities(OERWriter.java:333)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:279)
    [repository.submit]      at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:221)
    [repository.submit]      at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:666)
    [repository.submit]      at com.oracle.oer.sync.framework.ant.IntrospectTask.performRepositoryWork(IntrospectTask.java:314)
    [repository.submit]      at com.oracle.oer.sync.framework.ant.RepositoryTaskBase.execute(RepositoryTaskBase.java:182)
    [repository.submit]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [repository.submit]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [repository.submit]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [repository.submit]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [repository.submit]      at java.lang.reflect.Method.invoke(Method.java:597)
    [repository.submit]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [repository.submit]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [repository.submit]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [repository.submit]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [repository.submit]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [repository.submit]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [repository.submit]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [repository.submit]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [repository.submit]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [repository.submit]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [repository.submit]      at org.apache.tools.ant.Main.start(Main.java:179)
    [repository.submit]      at org.apache.tools.ant.Main.main(Main.java:268)
    [repository.submit] Entity write failed due to: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
    com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:586)
         at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.createArtifactEntity(MetadataEntityWriterImpl.java:74)
         at com.oracle.oer.sync.plugin.artifact.wsdl.WSDLArtifactWriter.createArtifactEntity(WSDLArtifactWriter.java:33)
         at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.write(MetadataEntityWriterImpl.java:49)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.createEntities(OERWriter.java:333)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:279)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:221)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:666)
         at com.oracle.oer.sync.framework.ant.IntrospectTask.performRepositoryWork(IntrospectTask.java:314)
         at com.oracle.oer.sync.framework.ant.RepositoryTaskBase.execute(RepositoryTaskBase.java:182)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:357)
         at org.apache.tools.ant.Target.performTasks(Target.java:385)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
         at org.apache.tools.ant.Main.runBuild(Main.java:758)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.Main.start(Main.java:179)
         at org.apache.tools.ant.Main.main(Main.java:268)
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:200)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:574)
         ... 26 more
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:438)
         at com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:179)
         ... 27 more
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:963)
         at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.createMetadataEntry(AttributeSaverImpl.java:237)
         at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.saveAttributes(AttributeSaverImpl.java:69)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.saveAttributes(OERWriter.java:1247)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:434)
         ... 28 more
    Caused by: (500)Internal Server Error
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
         at org.apache.axis.client.Call.invoke(Call.java:2748)
         at org.apache.axis.client.Call.invoke(Call.java:2424)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         at com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.assetMetadataCreateDIME(FlashlineRegistryTrSoapBindingStub.java:16008)
         at com.oracle.oer.sync.plugin.writer.oer.ALERFacade.assetMetadataCreate(ALERFacade.java:757)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:961)
         ... 32 more
    [repository.submit] Starting OERWriter Shutdown and Clean up...
    [repository.submit] Rolling Back
    [repository.submit] An error occurred performing the Repository operation:
    [repository.submit] com.oracle.oer.sync.framework.MetadataIntrospectionException: Entity write failed due to: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
    BUILD FAILED
    com.oracle.oer.sync.framework.MetadataIntrospectionException: Entity write failed due to: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:677)
         at com.oracle.oer.sync.framework.ant.IntrospectTask.performRepositoryWork(IntrospectTask.java:314)
         at com.oracle.oer.sync.framework.ant.RepositoryTaskBase.execute(RepositoryTaskBase.java:182)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:357)
         at org.apache.tools.ant.Target.performTasks(Target.java:385)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
         at org.apache.tools.ant.Main.runBuild(Main.java:758)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.Main.start(Main.java:179)
         at org.apache.tools.ant.Main.main(Main.java:268)
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:586)
         at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.createArtifactEntity(MetadataEntityWriterImpl.java:74)
         at com.oracle.oer.sync.plugin.artifact.wsdl.WSDLArtifactWriter.createArtifactEntity(WSDLArtifactWriter.java:33)
         at com.oracle.oer.sync.framework.impl.MetadataEntityWriterImpl.write(MetadataEntityWriterImpl.java:49)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.createEntities(OERWriter.java:333)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:279)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.write(OERWriter.java:221)
         at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:666)
         ... 19 more
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:200)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.findOrCreateArtifactAssets(OERWriter.java:574)
         ... 26 more
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:438)
         at com.oracle.oer.sync.oer.client.component.artifact.ArtifactSaverImpl.findOrCreateArtifact(ArtifactSaverImpl.java:179)
         ... 27 more
    Caused by: com.oracle.oer.sync.framework.MetadataIntrospectionException: (500)Internal Server Error
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:963)
         at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.createMetadataEntry(AttributeSaverImpl.java:237)
         at com.oracle.oer.sync.oer.client.component.attributes.AttributeSaverImpl.saveAttributes(AttributeSaverImpl.java:69)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.saveAttributes(OERWriter.java:1247)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetCreate(OERWriter.java:434)
         ... 28 more
    Caused by: (500)Internal Server Error
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
         at org.apache.axis.client.Call.invoke(Call.java:2748)
         at org.apache.axis.client.Call.invoke(Call.java:2424)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         at com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.assetMetadataCreateDIME(FlashlineRegistryTrSoapBindingStub.java:16008)
         at com.oracle.oer.sync.plugin.writer.oer.ALERFacade.assetMetadataCreate(ALERFacade.java:757)
         at com.oracle.oer.sync.plugin.writer.oer.OERWriter.assetMetadataCreate(OERWriter.java:961)
         ... 32 more
    Total time: 1 minute 6 seconds
    Please help me out from this issue...
    Thanks in advance...
    Edited by: ngsankar on Aug 11, 2011 2:09 PM
    Edited by: ngsankar on Aug 11, 2011 2:10 PM

    Hi,
    Were you able to resolve this error? I am facing the same issue
    --CH                                                                                                                                                                                   

  • Error while Generating WSDL File from SAP WSDLGenerator

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at WebServiceDescription.SelectOperation.ShowUDOsList(String sessionID)
       at WebServiceDescription.SelectOperation..ctor(String sessionID)
       at WebServiceDescription.WsdlServicesGenerator.ShowOptions()
       at WebServiceDescription.Form1.btCreateWsdl_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    WsdlServicesGenerator
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One%20Web%20Services/WsdlServicesGenerator/WsdlServicesGenerator.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    axh7tjvl
        Assembly Version: 1.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    o_2nbqv_
        Assembly Version: 1.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    I am facing problem While Generating WSDL File from WSDL Geerator which is provided by SAP Business One
    If any body has resolved this. Please help Me...!
    Thanks
    Mritunjay

    Hi.
    We've seen that error too few times.
    We downloaded the sourcecode for the wdsl generator and discovered,
    that in our case, it was because we had no user defined objects.
    Its actually a bug as far as I can see, where the wdsl generator tries
    to enumerate a empty recordset, and crashes.
    Regards
    Jørgen T.

  • Invoking a method in WSDL file from client class

    Hi,
    I have got a WSDL file and I have to invoke certian methods from a client class from the WSDL file. What exactly should I do to invoke them from a Java standalone program /servlet/JSP. There is a sayHello() method in the WSDL. Please tell me how to invoke that method from client side. Aslo please let me know the jar files that are needed.
    Below is the WSDL file
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://tutorial.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://tutorial.com" xmlns:intf="http://tutorial.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.2.1Built on Jun 14, 2005 (09:15:57 EDT)-->
    <wsdl:message name="sayHelloResponse">
    </wsdl:message>
    <wsdl:message name="sayHelloResponse1">
    <wsdl:part name="sayHelloReturn" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="addRequest">
    <wsdl:part name="a" type="xsd:int"/>
    <wsdl:part name="b" type="xsd:int"/>
    </wsdl:message>
    <wsdl:message name="sayHelloRequest">
    </wsdl:message>
    <wsdl:message name="addResponse">
    <wsdl:part name="addReturn" type="xsd:int"/>
    </wsdl:message>
    <wsdl:message name="sayHelloRequest1">
    <wsdl:part name="name" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="Hello">
    <wsdl:operation name="sayHello">
    <wsdl:input message="impl:sayHelloRequest" name="sayHelloRequest"/>
    <wsdl:output message="impl:sayHelloResponse" name="sayHelloResponse"/>
    </wsdl:operation>
    <wsdl:operation name="sayHello" parameterOrder="name">
    <wsdl:input message="impl:sayHelloRequest1" name="sayHelloRequest1"/>
    <wsdl:output message="impl:sayHelloResponse1" name="sayHelloResponse1"/>
    </wsdl:operation>
    <wsdl:operation name="add" parameterOrder="a b">
    <wsdl:input message="impl:addRequest" name="addRequest"/>
    <wsdl:output message="impl:addResponse" name="addResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloSoapBinding" type="impl:Hello">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequest1">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponse1">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="add">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="addRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="addResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloService">
    <wsdl:port binding="impl:HelloSoapBinding" name="Hello">
    <wsdlsoap:address location="http://localhost/WebService1/services/Hello"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thanks in advance
    Prashanth

    Hi.
    Please put this line in the google search engine "Invoking java web service" u will get lots of the links.
    Sanjay Kumar Gupta
    [email protected]

  • How can i include Services and Bindung in a generated WSDL file?

    Hi,
    i what to use a generated wsdl file from an erp system, to build a web service client with WSDL2Java (org.apache.axis.wsdl.WSDL2Java).
    I noticed, that services an bindings are missing, also a policy is included.
    How can i include services and bindings in the wsdl and exclude the policy?
    Thanks!

    well, I assume you have SOAMANAGER.
    choose your service & "Apply Selection" (very useless button btw)
    select a binding in the dropdown box or create on if you do not have one yet
    Click button "Show WSDL options" (actually they do not really look like buttons in WD; call it yellow blot)
    Some extra config area is thrown onto your screen (without any sense for usability or design); Change the radio button for WSDL format from "WS policy" to "Standard"; make sure the first radio button group is on "True" for monolithic
    Now click the link (why is this a link and no blot?) called "Display selected bindings WSDL URL"
    an extra text field is again thrown onto your screen somwhere between the dropdown and the WSDL option config area containing an URL (get out your glasses if you don't see the sub-10pt-letters)
    hope it helps,
    anton

  • Workshop 10.0.1 - Generating service control from a WSDL file

    Hi!
    I've been familiarising myself with Workshop (version 10.0.1).
    There is a feature that allows the generation of a web service control by right-clicking a WSDL file (Web Services > Generate Service Control).
    This process creates a jar file containing the WSDL's complex type.
    My only problem with this is that the jar uses the namespaces as package names (for example: www.openuri.org will be converted into an org.openuri package).
    I've been searching for a way to customize the package names, but I've been unable to find it. We previously used Axis to generate a web service client, and we ran an Ant task that could map namespaces to packages.
    Would there be a way to achieve this in Workshop?
    Thank you!

    Hi
    This is a known issue and a limitation. Service controls doesn't honor xsdconfig files when generated from wsdl file.
    We have an enhancement request CR307698 pending to address this issue. It looks like it's a big change in code to get this working so it is being looked at in the next release.
    Also, you can call BEA support / create a case in future and request status on this CR anytime.
    Vimala-

  • Creating WSDD and WSDL file

    I am working on JSR 172,
    I have created a server code, installed Tomcat and Axis.
    Now i want to convert my .java file to .wsdd and .wsdl file the below command are not working plese help.
    java -classpath lib\axis.jar;lib\saaj.jar;lib\jaxrpc.jar;lib\commons-logging-1.0.4.jar; lib\commons-discovery-0.2.jar;lib\wsdl4j-1.5.1.jar;build\classes\.;org.apache.axis.wsdl.Java2WSDL -y DOCUMENT -u LITERAL -l http://localhost:8080/axis/services/ScoreService tutorial.ScoreInterface
    and this produces the below erroe
    Unrecognized option: -y
    Could not create the Java virtual machine.
    Thanks in advance.

    Hi ganesh,
    you have two options to get it working.
    The first one is using a CanonicalEditPolicy, which creates all Nodes and Edges for you based on your semantic model. This is easy to implement, but it has some drawbacks. Your editor will get dirty after opening it, because your Notation Model is changes and no layout information is available.
    The better way is to create Nodes and Edges for each semantic element you created.
    For your code snippet it might look like this:
    XXX model = createInitialModel();
    YYY yyy = XXXFactory.eINSTANCE.createYYY();
    yyy.setAttribute1("2");
    yyy.setAttribute2("name");
    model.getYYYs().add(yyy);
    attachModelToResource(model, modelResource);
    Diagram diagram = ViewService.createDiagram(model, XXXEditPart.MODEL_ID,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    Node yyyView = ViewService.createNode(diagram, yyy, SemanticHints.YYY,
    ,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    //Set some layout information assuming you use a XYLayout
    Bounds bounds = NotationFactory.eINSTANCE.createBounds();
    bounds.setX(70);
    bounds.setY(20);
    yyyView.setLayoutConstraint(bounds);
    Regards,
    Andreas

  • Error creating Webservice Client in JAVA for ABAP Webservice(WSDL file)

    Hi all,
    I have created a webservice from a funtion module in the backend.
    Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.
    I tested this web service in backend and it is working fine.
    Now I am trying to generate JAVA cilent for this webservice using Eclipse and Axis,but getting the following error
    IWAB0399E Error in generating Java from WSDL:  WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
    faultCode=INVALID_WSDL: Encountered unexpected element '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element
    '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
        at java.lang.Thread.run(Unknown Source)
    Please let me know,wat needs to be done for this error to get resolved
    Thanks
    Santhosh

    Hi,
    I am also getting the same error while generating the client class from IBM Rational Application Developer IDE.
    Here is the error I get.
    WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
         [java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java] at java.lang.Thread.run(Thread.java:571)
    Did you find out the cause of this issue?
    Thanks & Regards,
    Vijay

  • Wsdl file

    Hi...All,
    i am doing RFC-SOAP Scenario, for this i need WSDL File is required for my requirement. my client is not providing wsdl file, i want to generate the wsdl file,  i dont know how to genarate the wsdl file..pls suggest me to generate the wsdl file..
    regards,
    Jain.

    Hello Jain,
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    Configuring Your WSDL File
    Applicable to: remote role assignment, remote delta link, WSRP application sharing
    This procedure is relevant only for producer portals running NW7.0 SPS7 and earlier. Later versions use an automated service for providing WSDL information to registering consumers over HTTP and HTTPS protocols.
    Use
    To describe the WSRP services provided by your portal server (the producer) and the set of operations within each service, you need to setup a WSDL file on your portal. When a consumer connects to your portal to retrieve content, the system administrator connects to this WSDL file.
    A standard WSDL template file is automatically created for you when you install the portal. You need to configure the settings in the file based on your system landscape.
    You can generate multiple WSDL files and configure each one for a specific use case. For example: one for a regular network proxy and another for a reverse proxy; or (ii) one for HTTP connectivity and another for HTTPS. Make sure you supply your content consumers with the URL to the appropriate WSDL file.
    In a cluster environment, the WSDL file needs to be configured, as described below, on every server node.
    Once a consumer has registered on your portal, the WSDL file is no longer needed by the consumer, unless the consumer needs to reregister after unregistering. You can therefore edit its contents at any time.
    If you move the WSDL file to a new location, you need to provide the updated path to consumers that have not yet registered or need to reregister. These consumers need to update the WSDL path in the properties of their existing producer object (see Editing Connection Properties to Producers).
    Procedure
           1.      In the producer server, browse to the following folder:
    Windows: c:usrsap<SID>JC<x>j2eeclusterserver<node_number>appssap.comirjservlet_jspirj
    ootportalappscom.sap.portal.ivs.wsrpservicewsdl
    UNIX: /usr/sap/<SID>/JC<x>/j2ee/cluster/server<node_number>/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.ivs.wsrpservice/wsdl
           2.      In any text-based editor, open the file: wsdl.html
           3.      Note that all four services in the WSDL file reference the same servlet. The relevant WSDL information regarding your producer portal is described in this servlet. In most cases, you do not need to modify referenced servlet.
    By default, each service references the WSRP servlet at: http://localhost:51000/irj/servlet/prt/soap/AutoGenProducer?style=doc_lit
    For each service, do the following:
                                a.      Specify the Web protocol through which the WSRP servlet is accessible: http or https
                                b.      Replace the default localhost value with the host name of your portal.
                                c.      Replace the default 51000 value with the port number of your portal (the port must match the Web protocol you have defined).
    If you are using a reverse proxy, enter instead the protocol, host address, and port of the reverse proxy.
           4.      Save the WSDL file.
    We recommend you make a backup of the WSDL file in case it is overwritten during a portal system upgrade.
    Thanks,
    Satya Kumar
    Reward if it is useful

  • How to assosciate webservice to a WSDL file

    Hi
    I tried developing webservice(EJB as RPC) in weblogic server and installed and its working fine if i call it from client.
    I am using java2WSDL(axis) tool to create a WSDL file and WSDL2Java to create stubs for client to call.I am struck in linking webservice to use the wsdl file which i have created.
    I manually tried to add my WSDL file to the WAR file of my application and also Updated the web.xml file of the Web application adding a mime-mapping.
    I am able to access the WSDL file in browser as http://bt885094:7001/webservice/user.wsdl
    But my client tries to access the service "http://bt885094:7001/webservice/C2PUserService" which has an associated WSDL file defined as http://bt885094:7001/webservice/C2PUserService?WSDL which needs to be checking for http://bt885094:7001/webservice/user.wsdl
    Could anyone tell me how to assosciate webservice to a WSDL file.
    thanks in advance

    Thank you everyone for your help. As a complete newbie I found this nice walkthrough tutorial in onjava(i dont mean to spam).
    1. View: Take a peek at the existing Fibonacci code.
    2. Java2WSDL: Generate the WSDL file for the given Fibonacci interface.
    3. WSDL2Java: Generate the server side wrapper code, and stubs for easy client access.
    4. FibonacciSoapBindingImpl: Fill in wrapper to call the existing Fibonacci code.
    5. Deploy: Deploy the service to Apache Axis.
    6. Client: Write a client that uses the generated stubs, to easily access the Web service.
    Given the webservice endpoint and the method name, I think I can now consume the web service using steps 3,4, and 6.

  • 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

Maybe you are looking for