WSDL generation from existing WebService

Hello everybody,
we have got an existing WebService which we want to migrate to XI.
Because we don't want to change the clients interfaces we would like to import the WSDL and XSD and than generate a WSDL from XI.
First problem: The WebService exists of two WSDL-File an one XSD. First WSDL has attributes about PORT, SERVER..
The second WSDL has attributes of the request and the response.
So the origin WSDLs/XSD depend on each other, refering by URIs.
How can this be done in XI?
What about the namespaces in XI. Do they have to be the same as in the origin Files?
Thanks a lot, regards Mario

Hello everybody,
we have got an existing WebService which we want to migrate to XI.
Because we don't want to change the clients interfaces we would like to import the WSDL and XSD and than generate a WSDL from XI.
First problem: The WebService exists of two WSDL-File an one XSD. First WSDL has attributes about PORT, SERVER..
The second WSDL has attributes of the request and the response.
So the origin WSDLs/XSD depend on each other, refering by URIs.
How can this be done in XI?
What about the namespaces in XI. Do they have to be the same as in the origin Files?
Thanks a lot, regards Mario

Similar Messages

  • WebService generation from existing WSDL file :(

    Hello,
    I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
    Here are my JDeveloper coordinates to give you the chance to follow up:
    - Studio Edition Version 11.1.1.1.0
    - Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Running JDeveloper in MacOSX:
    - Version 10.5.8
    - Build 9L31a
    Cheers,
    Chris
    *** ERROR STACK TRACE ***
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
         at java.lang.Thread.run(Thread.java:637)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
         at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
         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 oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
         at $Proxy46.getJaxWsSeiInfo(Unknown Source)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
         ... 8 more
    Caused by: java.lang.NumberFormatException: For input string: "1 "
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:456)
         at java.lang.Integer.parseInt(Integer.java:497)
         at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
         at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
         at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
         at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
         at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
         at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
         ... 18 more

    Hello puthanampatti,
    that was exactly what I tried right now ;-)
    I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
    When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
    Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: !NLS Some Name
    Invoking command:
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command:
    Invoking command: New XML Schema
    Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
    Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Clear[ from oracle.ide.log.MessagePage ]
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
    Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.NullPointerException
      com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
      com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
      jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
      jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
      jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
      o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
      j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      j.a.Component.processMouseEvent(Component.java:6304)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
      j.a.Dialog$1.run(Dialog.java:1051)
      j.a.Dialog$3.run(Dialog.java:1103)
      j.security.AccessController.doPrivileged(Native Method)
      j.a.Dialog.show(Dialog.java:1101)
      j.a.Component.show(Component.java:1516)
      j.a.Component.setVisible(Component.java:1468)
      j.a.Window.setVisible(Window.java:841)
      j.a.Dialog.setVisible(Dialog.java:991)
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
      o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
      o.i.wizard.WizardManager$1.run(WizardManager.java:365)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager$2.run(WizardManager.java:373)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
      o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
      o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
      o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
      o.i.controller.IdeAction.performAction(IdeAction.java:524)
      o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
      o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.AbstractButton.doClick(AbstractButton.java:389)
      jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
      com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
      jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
      j.a.Component.processMouseEvent(Component.java:6301)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
    Cheers,
    chris
    Edited by: Christoph E on Oct 19, 2009 4:30 PM

  • Pro: SOAP to RFC, WSDL generation

    Hi Frnd,
    I  am getting problem in the WSDL Generation from the ID,
    When i generated it first time i was getting the following in the    Soap:address
    <soap:address location="http://vessxip01:8001/XISOAPAdapter/MessageServlet?channel=:BS_PWS:CC_PWS_WeighVoidData_SOAPsend&version=3.0;Sender.Service=BS_PWS;Interface=+urn%3Aveoliaes%3APWSTransaction%3ASAPR3toPWS%5EMIout_WeighVoidData" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
    But When i am generation it again i am getting the following  for the same tag,   SOAP:Address
    <soap:address location="http://vessxip01:8001/XISOAPAdapter/MessageServlet?channel:BS_PWS:CC_PWS_WeighVoidData_SOAPsend&version=3.0;Sender.Service=BS_PWS;Interface=urn%3Aveoliaes%3APWSTransaction%3ASAPR3toPWS%5EMIout_WeighVoidData" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
    When we look concentrate i found " + " sign is missing in the next generation.
    Please tell me what is the meaning of "+" sign, and why it is not comming in the regeneration of the WSDL.
    Where as first one is working fine and the second one is not working.
    Thanks,
    Raj.

    http://vessxip01:8001/XISOAPAdapter/MessageServlet?channel:BS_PWS:CC_PWS_WeighVoidData_SOAPsend&version=3.0;Sender.Service=BS_PWS;Interface=urn%3Aveoliaes%3APWSTransaction%3ASAPR3toPWS%5EMIout_WeighVoidData
    The WSDL format that you are using is configured to hit the Integration Engine....hence the port number that you use should be that of the Integration Engine......
    Now from where will i get this information:
    1) Open SAP GUI --- tcode /nSXMB_ADM ---> Integration Engine Configuration ..... you will see the port here.... so if it is 8001 you need to use 8001 in the above URL.....
    2) RWB --> Component Monitoring --> Integration Engine --> Test Message .....you can again see the port over here....
    If i am not wrong 5XX00 is supposed to be used (mandatory) from PI7.1 onwards.....
    Please tell me what is the meaning of "+" sign, and why it is not comming in the regeneration of the WSDL.
    absolutely no idea :(.........but never saw a wsdl format with "+" sign in it.....
    please correct me for any incorrect information given by me
    Regards,
    Abhishek.

  • How to Create WebService (the Server, not Client) from existing WSDL

    Does anyone have any suggestions on how to create a WebService from existing WSDL.  I have been asked to implement a WebService (the Server) based on WSDL from a standards based consortium.  I have created several WebServices in the past and the generated WSDL under my control.  Does Axis WebServices generate WebService service stub Java code?

    Hai
      you can create stubs for AXis webservices also
      for help use the following link
    http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page1

  • How to generate doc/lit/wrapped services from existing wsdl?

    Hello,
    I am using workshop 10.1 to generate webservices from existing wsdl files from workshop 8.1. The existings webservices are based on an xmlbean utility project.
    When I generate the webservice from the existing wsdl file it generates automatically services with doc/lit/bare operations. I found in the known issues that this combination is not supported in combination with xmlbeans.
    See: CR283457
    XBeans are not supported as parameters or return type for doc/lit/bare operations.
    Use of Xbeans as a parameter or return type with doc/lit/bare bindings is not supported in operations or callbacks and will result in a failure during deployment.
    Platform: All
    Workaround: Use doc/lit/wrapped for services that use XBeans as parameters or return types.
    The workaround state to use doc/lit/wrapped for services. My questions is how to do that since workshop has all control over the generation of the webservices? ?:|
    Thanks in advance,
    Martijn Baels
    Software Architect
    www.leanapps.com

    Hi Martijn
    If you do generate web service from the wsdl on a 9.2 project, it always uses jax-rpc types and there's no xmlbeans involved.
    If the wsdl is in the schemas folder and the xmlbeans builder is on, then you also have xmlbeans types created by the builder they aren't being used by the web service. You will still have problems, because some of the xmlbeans types may conflict with the jax-rpc types.
    so when we generate webservice from a wsdl it will never use xmlbeans type, even if the xml builder is on, because WLS doesn't support start from wsdl with xmlbeans types.
    Can you please attach the wsdl and the steps so I can replicate and see the issue?
    Thanks
    Vimala

  • Problem creating webservice from existing code in sjse8

    I have a java class with three methods in an enterprise app (no ejbs) that I want to expose with webservice. In sudio5 I had no problem with webservice creation but in studio8 when I chose "From scratch, Use existing code", it gives me the opting to go to my class and select those methods. When I click finish, it generates an Implementation class that has declaration for my java class repeated 3 times which is obviously wrong and under it says:
    // Enter web service operations here. (Popup menu: Web Service->Add Operation)
    The class is empty.
    I choose "rpcliteral", "strict", "useonewayoperations" and "donotoverride" under web module property / webservice.
    And as you can guess it generates a wsdl file with no webservice methods info.
    I have and am checking all forums and searching different sites but haven't fond anything yet.
    I appreciate any help resolving this issue.

    Seems this feature doesn't work properly in jse and completely removed from latest nb55 enterprise pack (only session enterprise bean case remain)

  • Calling an existing webservice from ABAP ?

    I am trying to call an existing webservice from abap and cannot seem to get it right.
    We are on 640.
    What are the steps I need to follow ?
    The address of the test wsdl is http://obcbox:50000/EMWSApp/DCCGen?wsdl
    and http://obcbox:50000/wsnavigator/jsps/explorer.jsp?localWS=RU1XU0FwcC9zYXAuY29tJTJGRU1XU0FwcEVhci9FTVdTYXBwLmphcg%3D%3D
    I need to be able to send data to the dccGenerator so it can do its work.
    Any help would be greatly appreciated.
    Cheers Steve.

    The following code will call the web service and fill the data into internal table which was received from the Web service. This code will send & Receive the data from ABAP to Webservice.
    Change the Header detail as per your Webservice.
    REPORT  ZWORKORDER.
    * Author : Raja T
    * Company :******
    TYPES: BEGIN OF OUTTAB1 ,
      JOBCODE(20),
      COMPONENTCODE(20),
      ACCURATEHOURS(20),
      ACCURATECOST(20),
      LENGTH TYPE I,
       END OF OUTTAB1 .
    DATA: OUTTAB TYPE  TABLE OF OUTTAB1.
    DATA: TAB TYPE OUTTAB1.
    DATA: WF_O LIKE LINE OF OUTTAB .
    DATA: XSLT_ERR TYPE REF TO CX_XSLT_EXCEPTION .
    DATA: RLENGTH TYPE I,
          TXLEN TYPE STRING  .
    DATA: HTTP_CLIENT TYPE REF TO IF_HTTP_CLIENT .
    DATA: WF_STRING TYPE STRING .
    DATA: WF_STRING1 TYPE STRING .
    DATA: WF_PROXY TYPE STRING ,
          WF_PORT TYPE STRING .
    CLEAR WF_STRING .
    * Form the input string to send the Input Data to Web service.
    CONCATENATE
    '<?xml version="1.0" encoding="utf-8"?>'
    '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'
    '  <soap:Body>'
    '    <GetWorkOrder xmlns="http://*******erica.net/webservices/">'
    '      <nWorkOrder>2</nWorkOrder>'
    '      <nDistributorCode>4871</nDistributorCode>'
    '      <model>HM400</model>'
    '     <type>1 </type>'
    '    </GetWorkOrder>'
    '  </soap:Body>'
    '</soap:Envelope>'
    INTO WF_STRING .
    CLEAR :RLENGTH , TXLEN .
    RLENGTH = STRLEN( WF_STRING ) .
    MOVE: RLENGTH TO TXLEN .
    CLEAR: WF_PROXY, WF_PORT .
    CALL METHOD CL_HTTP_CLIENT=>CREATE
      EXPORTING
        HOST    = '192.168.1.41' "'http://****merica.net/webservices'
        SERVICE = '8080'
        SCHEME  = '1'
      IMPORTING
        CLIENT  = HTTP_CLIENT.
    HTTP_CLIENT->PROPERTYTYPE_LOGON_POPUP = HTTP_CLIENT->CO_DISABLED.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = '~request_method'
        VALUE = 'POST'.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = '~server_protocol'
        VALUE = 'HTTP/1.1'.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = '~request_uri'
        VALUE = '/service/accurate/workorder.asmx?'.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = 'Content-Type'
        VALUE = 'text/xml; charset=utf-8'.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = 'Content-Length'
        VALUE = TXLEN.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = 'SOAPAction'
        VALUE = 'http://********merica.net/webservices/GetWorkOrder'.
    CALL METHOD HTTP_CLIENT->REQUEST->SET_CDATA
      EXPORTING
        DATA   = WF_STRING
        OFFSET = 0
        LENGTH = RLENGTH.
    * Send the Input Data to Web service.
    CALL METHOD HTTP_CLIENT->SEND
      EXCEPTIONS
        HTTP_COMMUNICATION_FAILURE = 1
        HTTP_INVALID_STATE         = 2.
    * Receive the Input from Web Serice.
    CALL METHOD HTTP_CLIENT->RECEIVE
      EXCEPTIONS
        HTTP_COMMUNICATION_FAILURE = 1
        HTTP_INVALID_STATE         = 2
        HTTP_PROCESSING_FAILED     = 3.
    CLEAR WF_STRING1 .
    WF_STRING1 = HTTP_CLIENT->RESPONSE->GET_CDATA( ).
    DATA: LENGTH TYPE I.
    LENGTH = STRLEN( WF_STRING1 ).
    DATA: VALUE_FIELD TYPE NAME_KOMP.
    DATA: VALUE TYPE REF TO DATA.
    FIELD-SYMBOLS: <FS_CONVERTED_DATA>.
    DATA: TAB1 TYPE TABLE OF STRING.
    DATA: FROM_LENGTH TYPE I VALUE 1.
    DATA: TO_LENGTH TYPE I.
    DATA: DIFF TYPE I.
    DATA: START TYPE I VALUE 1.
    DO.
    * JOBCODE.
      SEARCH WF_STRING1 FOR 'JobCode=' . "STARTING AT START .
      IF SY-SUBRC <> 0.
        EXIT.
      ENDIF.
      FROM_LENGTH = SY-FDPOS .
      FROM_LENGTH = FROM_LENGTH  + 8.
      SEARCH WF_STRING1 FOR 'JobDescription=' ."STARTING AT START ..
      TO_LENGTH = SY-FDPOS .
      DIFF = TO_LENGTH - FROM_LENGTH .
      MOVE WF_STRING1+FROM_LENGTH(DIFF) TO TAB-JOBCODE.
      TO_LENGTH = DIFF + TO_LENGTH.
      SHIFT WF_STRING1 BY TO_LENGTH PLACES.
    * COMPONENT CODE
      SEARCH WF_STRING1 FOR 'ComponentCode=' .
      IF SY-SUBRC <> 0.
        EXIT.
      ENDIF.
      FROM_LENGTH = SY-FDPOS .
      FROM_LENGTH = FROM_LENGTH  + 14.
      SEARCH WF_STRING1 FOR 'ComponentDescription=' .
      TO_LENGTH = SY-FDPOS .
      DIFF = TO_LENGTH - FROM_LENGTH .
      MOVE WF_STRING1+FROM_LENGTH(DIFF) TO TAB-COMPONENTCODE.
      TO_LENGTH = DIFF + TO_LENGTH.
      SHIFT WF_STRING1 BY TO_LENGTH PLACES.
    * AccurateHours
      SEARCH WF_STRING1 FOR 'AccurateHours=' .
      IF SY-SUBRC <> 0.
        EXIT.
      ENDIF.
      FROM_LENGTH = SY-FDPOS .
      FROM_LENGTH = FROM_LENGTH  + 14.
      SEARCH WF_STRING1 FOR 'AccurateCost='.
      TO_LENGTH = SY-FDPOS .
      DIFF = TO_LENGTH - FROM_LENGTH .
      MOVE WF_STRING1+FROM_LENGTH(DIFF) TO TAB-ACCURATEHOURS.
      TO_LENGTH = DIFF + TO_LENGTH.
    *  AccurateCost
      SEARCH WF_STRING1 FOR 'AccurateCost='.
      FROM_LENGTH =  SY-FDPOS.
      FROM_LENGTH =  FROM_LENGTH + 13.
      SEARCH WF_STRING1 FOR '/>'.
      TO_LENGTH = SY-FDPOS.
      DIFF = TO_LENGTH - FROM_LENGTH .
      MOVE WF_STRING1+FROM_LENGTH(DIFF) TO TAB-ACCURATECOST.
      TO_LENGTH = DIFF + TO_LENGTH.
      SHIFT WF_STRING1 BY TO_LENGTH PLACES.
      APPEND TAB TO OUTTAB.
    ENDDO.
    WRITE: (10) 'JOBCODE'.
    WRITE (20) 'COMPONENTCODE'.
    WRITE (30) 'ACCURATEHOURS'.
    WRITE (40) 'ACCURATECOST'.
    LOOP AT OUTTAB INTO TAB.
      WRITE:/ TAB-JOBCODE .
      WRITE (20) TAB-COMPONENTCODE.
      WRITE (30) TAB-ACCURATEHOURS.
      WRITE (40) TAB-ACCURATECOST.
    ENDLOOP .
    Message was edited by:
            Raja T

  • Problems with WSDL file from Webservice definition

    Hi all,
    I trying to import into XI the WSDL file from a web service. I´m doing it following the blog /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    But I do not why but it is not creating the messages.
    Any Idea,
    Many thanks and Regards
    Noelia

    Hi thnaks for your help!!
    this is the wsdl file. I think this is correct,but i´m not very familiar with this!
    <?xml version="1.0" encoding="utf-8"?>
    <!--            Generated by WSDLDefinitionsParser    --><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="urn:WS_ExtraccionNombramientoVi" targetNamespace="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document" xmlns:tns="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document">
      <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:WS_ExtraccionNombramientoVi" xmlns:tns="urn:WS_ExtraccionNombramientoVi" elementFormDefault="qualified">
          <xs:element name="ejecutarExtraccionNS">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="fechaExplotacion" type="xs:string" nillable="true"/>
                <xs:element name="tipoXML" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="ejecutarExtraccionNSResponse">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="Response" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:schema>
      </wsdl:types>
      <wsdl:message name="ejecutarExtraccionNSIn_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNS"/>
      </wsdl:message>
      <wsdl:message name="ejecutarExtraccionNSOut_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNSResponse"/>
      </wsdl:message>
      <wsdl:portType name="WS_ExtraccionNombramientoVi_Document">
        <wsdl:operation name="ejecutarExtraccionNS">
          <wsdl:input message="tns:ejecutarExtraccionNSIn_doc"/>
          <wsdl:output message="tns:ejecutarExtraccionNSOut_doc"/>
        </wsdl:operation>
      </wsdl:portType>
    </wsdl:definitions>
    Regards Noelia

  • Java client generation from BPEL WSDL fails?

    Hi -
    I have developed asynchronous BPEL composite project and used input xsd as required.Deployed the same on em and took wsdl url.
    In OSB project this WSDL from abve step is used as input for proxy service.Exported WSDL from this proxy and trying to create java client out of it.
    In eclipse or OEPE if i load above wsdl and provide >generate webservice java client,it through exception saying 'root tag'(of our xsd) not define?
    Can we generate Java client out of WSDL deployed and available on BPEL em?If so how?
    Please assist..
    Edited by: Anitha R on Jan 23, 2011 2:36 AM

    This is fixed.We were able to generate the cient,namespace required for input message found missing.After udation it worked.

  • Xrpcc: Generate stub from existing WSDL

    Hi, I have an error when generating stub from existing WSDL using xrpcc tool.
    Anyone know what is the problem? Thanks!
    The error message:
    warning: ignoring operation "registration": more than one part in input message
    warning: ignoring operation "checkRegistration": more than one part in input message
    warning: Port "AccountManagementService" does not contain any usable operations
    warning: ignoring operation "registration": more than one part in input message
    warning: ignoring operation "checkRegistration": more than one part in input message
    warning: Port "AccountManagementService" does not contain any usable operations
    Note: sun.tools.javac.Main has been deprecated.
    1 warning
    The WSDL file:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
    name="serverone.paymentofgovbill.service.useraccount.AccountManagementService"
    targetNamespace="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementService"
    xmlns:map="http://systinet.com/mapping/"
    xmlns:ns0="http://systinet.com/xsd/SchemaTypes/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementService"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <xsd:schema targetNamespace="http://systinet.com/xsd/SchemaTypes/"
    elementFormDefault="qualified"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://systinet.com/xsd/SchemaTypes/"
    xmlns:map="http://systinet.com/mapping/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:ns0="http://systinet.com/xsd/SchemaTypes/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <xsd:element name="p0" type="xsd:string" nillable="true"/>
    <xsd:element name="p1" type="xsd:string" nillable="true"/>
    <xsd:element name="string_Response" type="xsd:string"
    nillable="true"/>
    <xsd:element name="int_Response" type="xsd:int"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="AccountManagementService_registration_1_Request">
    <wsdl:part name="p0" element="ns0:p0"/>
    <wsdl:part name="p1" element="ns0:p1"/>
    </wsdl:message>
    <wsdl:message name="AccountManagementService_checkRegistration_1_Request">
    <wsdl:part name="p0" element="ns0:p0"/>
    <wsdl:part name="p1" element="ns0:p1"/>
    </wsdl:message>
    <wsdl:message name="AccountManagementService_checkRegistration_Response">
    <wsdl:part name="response" element="ns0:int_Response"/>
    </wsdl:message>
    <wsdl:message name="AccountManagementService_registration_Response">
    <wsdl:part name="response" element="ns0:string_Response"/>
    </wsdl:message>
    <wsdl:portType name="AccountManagementService">
    <wsdl:operation name="registration" parameterOrder="p0 p1">
    <wsdl:input
    message="tns:AccountManagementService_registration_1_Request"/>
    <wsdl:output
    message="tns:AccountManagementService_registration_Response"/>
    </wsdl:operation>
    <wsdl:operation name="checkRegistration" parameterOrder="p0 p1">
    <wsdl:input
    message="tns:AccountManagementService_checkRegistration_1_Request"/>
    <wsdl:output
    message="tns:AccountManagementService_checkRegistration_Response"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="AccountManagementService"
    type="tns:AccountManagementService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
    style="document"/>
    <wsdl:operation name="registration">
    <map:java-operation name="registration"
    signature="KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylMamF2YS9sYW5nL1N0cmluZzs="/>
    <soap:operation
    soapAction="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementServiceAccountManagementService#registration#KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylMamF2YS9sYW5nL1N0cmluZzs="
    style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="checkRegistration">
    <map:java-operation name="checkRegistration"
    signature="KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylJ"/>
    <soap:operation
    soapAction="urn:serverone.paymentofgovbill.service.useraccount.AccountManagementServiceAccountManagementService#checkRegistration#KExqYXZhL2xhbmcvU3RyaW5nO0xqYXZhL2xhbmcvU3RyaW5nOylJ"
    style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="AccountManagementService">
    <wsdl:port name="AccountManagementService"
    binding="tns:AccountManagementService">
    <soap:address
    location="http://localhost:6060/AccountManagementService/"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    The JAXRPC spec. section 6.2 states:
    "All message parts (either parameter or return value) appear inside a single wrapper element, which is the first child element of the SOAP Body element." For this to work with Doc/literal operations, all messages can contain only a single part.

  • Failed to read wsdl file from url

    Hi all,
    I am struggling with WL 9.2, consuming a WSRP enabled portlet at the following point:
    Having created a proxy portlet, refering to the WSDL of the WSRP producer, I did successfully deploy the portal. When accessing the portal and consuming the portlet the following exception is thrown:
    com.bea.wsrp.faults.TransportException: Failed to read wsdl file from url due to -- java.net.ConnectException: Tried all: '8' addresses, but could not connect over HTTP to server: 'www.w3.org', port: '80';
    The WSDL includes a schema (http://www.w3.org/2001/XMLSchema). The URL is definetely accessible by the server.
    I am open for any kind of support ;) Thanks in advance!
    Kind regards,
    Matthias

    Yes, they are all local schemas. The way ALSB works, even if the import path in the wsdl or parent schema doesn't exist, relative to the current directory, you can specify which schema resolves that reference. My WSDL imports several schemas, all of which import others. When I was done importing all the schemas and resolving references, all the references in WSDLs and XSDs were assigned and valid. However, after all of those imports and reference resolution, it still says the WSDL is invalid, with the following odd error message:
    The WSDL is not semantically valid: Failed to read wsdl file from url due to -- java.net.MalformedURLException: no protocol: /XMLSchema/PaymentServices/Resources/PaymentServices-200802.
    That path listed refers to one of the schemas imported by the WSDL. The reference to that schema in the WSDL was resolved, and it doesn't complain about that reference.

  • ERROR IN LOADING WSDL FILE in adaptive webservice model

    Hi
    i made my bapi as  WDSL file and saved on to my desktop when i try to browse that wsdl file  from front end it is saying ERROR IN LOADING WDSL FILE what might be the actual problem.could you please help me.
    Thanks
    Rahul

    HI
    try to save it once again and try or you can use the wsdl url directly . or other option you can do is
    use the webservice model(deprecated) . maybe this could solve your problem .

  • Full qualified host name not appearing in url within WSDL generated from PI

    Hi
       We are on PI711  ( AIX OS ) and are stuck with an issue of the fully qualifed hostname not appearing within WSDL file  generated in PI71 for a webservice it exposes using the Integration builder
    We changed the host name in exchange profile ( all locations ) from hostname to hostname.companyname.intra and also in the ABAP stack as recommended in all OSS notes.
    We use the Integration Directory --> Sender Agreement --> Display WSDL option to generate the WSDL.
    Its to be noted that all locations ( including url for WSDL ) have the fully qualified hostname except the url within the WSDL.
    Dioes anyone come across this issue/ know which parameters to be updated on the PI server to make the url within the WSDL for the PI webservice to have the fully qualified host name ?

    HI Karthik,
    As Mentioned by Baskar donu2019t use proposed URL .. while creating WSDL in Id.. but instead provide URL in following format and use it in that place and create WSDL.. details about URL format..
    the URL format is fix. and it is simple.
    http://host:HTTPPort/XISOAPAdapter/MessagingServlet?channel=party:sendersystem:CC_sender
    in above URL provide your sender service component name instead of sender system.
    and provide SOAP sender communication channel name in place of CC_sender
    provide your PI system host and http name in place of host and https and use this..
    for more details about URL..
    Propose URL when Configuring Sender SOAP Adpater
    soap url
    Thanks,
    Bhupesh

  • Business Component generation from designer fails

    I have data model and application modules in Designer 9i. Using JDeveloper 10g and JHEADSTART for application development.
    I am importing this designer meta-data into JDEVELOPER. Defined a database connection for repository user as well as the database schema having required tables. I created a project and then started Business Components Generation from Oracle Designer to import a form module. A Wizard pops-up. Specified the required repository and database connection. It starts the import process but terminates saying 'oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-00942: table or view does not exist'.
    It does not specify which view/table is missing.
    Can somebody tell, the reason for this error or where can I find the error log to get more details. I believe it is not because of any application table. I created a module without any table, still it gives this error.

    Yes, this is a known issue. We will fix this for the next release.
    Having said that, the next release will contain the JHeadstart Forms2ADF generator which directly reads Oracle Forms .fmb files to ADF, without the need to use Oracle Designer, avoiding problems like this alltogether.
    Steven Davelaar,
    JHeadstart Team.

  • Calling functions from SOAP webservice. Can't access webservice functions.

    Hi flex gurus,
    I am quite new to flex. I am working on an flex application where I am trying to remotely invoke a SOAP webservice which is a wsdl file from Adobe flex 4.6.
    I have authenticated the webservice(Basic Authentication Done) and got access to wsdl but I am unable to call the functions in it. I just want to pass the username and password for the user login to the service function which will give me the data useful for my application, but nothing is returned when the webservice function is called.
    I am totally blocked at this point. Please help me.
    Thanks in advance.

    Below is my code snippet. But nothing is returned from th service, what is the problem???
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="CheckWS" >
        <fx:Script>
            <![CDATA[
                import flash.net.drm.AuthenticationMethod;
                import mx.collections.ArrayCollection;
                import mx.messaging.messages.SOAPMessage;
                import mx.rpc.AsyncToken;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.rpc.http.HTTPService;
                import mx.rpc.soap.AbstractWebService;
                import mx.rpc.soap.Operation;
                import mx.rpc.soap.SOAPFault;
                import mx.rpc.soap.SOAPHeader;
                import mx.rpc.soap.SOAPResult;
                import mx.rpc.soap.WebService;
                import mx.rpc.wsdl.WSDLBinding;
                import mx.utils.Base64Encoder;
                public var resultdata:String;
                private function send_data(service:mx.rpc.http.HTTPService):void {
                    var encoder:Base64Encoder = new Base64Encoder();           
                    encoder.insertNewLines = false;           
                    encoder.encode("auth_usrname:auth_pswd");
                    service.headers = {Authorization:"Basic " + encoder.toString()};
                    service.send();
                //protected function soapWS_resultHandler(event:ResultEvent):void
                    // TODO Auto-generated method stub
                    /* var i:int;
                    var webresult:String=event.result.toString();
                    i = 0; */
                    /* var i:int;
                    resultdata = event.result.toString();
                    i = 0;
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <s:HTTPService id="soapWS"
                           url="My_Web_URL?wsdl" result="soapWS_resultHandler(event)" resultFormat="xml" useProxy="false" method="POST">
                <s:request xmlns="">
                    <Username>{username.text}</Username>
                    <Password>{password.text}</Password>
                </s:request>
                <s:result >
                    <![CDATA[
                        var i:int;
                        dgUserRequest.visible = true;
                        var obj:Object = new Object();
                        obj = event.result;
                    //    dgUserRequest.dataProvider = event.result.toString();
                    //    var str:String = new String();
                        resultdata = obj.toString();
                        i = 0;
                    ]]>                                                       
                </s:result>
            </s:HTTPService>
        </fx:Declarations>
        <s:Form x="20" y="10" width="100%">
            <s:FormItem color="blue">
                <s:Label text="Username" />    
                <s:TextInput id="username"/>
            </s:FormItem>
            <s:FormItem color="blue">
                <s:Label text="Password" />    
                <s:TextInput id="password"/>    
            </s:FormItem>
            <s:FormItem color="yellow">
                <s:Button label="Submit" click="send_data(soapWS)"/>
            </s:FormItem>
        </s:Form>
        <s:DataGrid id="dgUserRequest" x="20" y="300"
                     dataProvider="{resultdata}" width="100%">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="password" headerText="Password" />
                    <s:GridColumn dataField="username" headerText="User Name"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
    </s:View>

Maybe you are looking for

  • When I try to burn a disc on iTunes it says "disc burner software not found." What do I do?

    I have already tried reinstalling iTunes and nothing changed. Then I went to "Help", then "Run Diagnostics", and then ran a check for the CD/DVD drives. My diagnosis is: Microsoft Windows 7 x64 Business Edition Service Pack 1 (Build 7601) Hewlett-Pac

  • WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG - Capturing results in Block?

    PROCEDURE P_MULTI_FILE IS vFile WEBUTIL_FILE.FILE_LIST; BEGIN vFile := WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG ('C:\', '', 'FMB Files (*.fmb)|*.fmb|', NULL, OPEN_FILE, TRUE); END; I want to know how to interact with the results from WEBUTIL_FILE.FIL

  • Outlook Archive not working in 2010/2013 versions

    Hello, I have a few users who are having some problems with their archives. They are not able to see them in their Outlook Desktop Applications, but they are visible on the OWA. I work for a university and all of this started happening after they upg

  • FBL3N & F-03

    Hi All When I query fbl3n for GL :XXX (Intercompany-Accruals) if gives me list of document types AC & SA as open items. But I try to clear them in f-03 few documents are missing here. I am not sure why the few documents are missing here. Any ideas on

  • Mavericks 10.9.5 -- Brother MFC-7320 does not work.

    Hi apple folks, Mavericks 10.9.5 --> Brother MFC-7320 does not work. I just have downloaded the driver form http://support.brother.com/g/b/downloadhowto.aspx?c=gb&lang=en&prod=mfc7320_eu&o s=132&dlid=dlf005077_000&flang=4&type3=20 Despite the fact th