Brokerdemo

While trying it on a perfectly good wdsl (at least MS toolkit likes it) it throws
the following exception:
Creating external service
java.io.IOException: can not have more than one return type
at weblogic.soap.wsdl.binding.Message.getReturnType(Message.java:64)
at weblogic.soap.wsdl.binding.BindingOperation.populate(BindingOperation.java:52)
at weblogic.soap.wsdl.binding.Binding.populate(Binding.java:48)
at weblogic.soap.wsdl.binding.Definition.populate(Definition.java:116)
at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:173)
at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:137)
at weblogicx.soap.tools.broker.ExternalService.getView(ExternalService.java:209)
at weblogicx.soap.tools.broker.ExternalService.<init>(ExternalService.java:38)
at weblogicx.soap.tools.broker.Registry$2.mouseReleased(Registry.java:192)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Dimitri

Duh! You are absolutely right - I was using Response object directly:
<message name="clsFlightLookup.LoadResponse">
<part name="Result" type="xsd:int" />
<part name="vSessionID" type="xsd:anyType" />
<part name="strReqFromCityCode" type="xsd:string" />
<part name="strReqToCityCode" type="xsd:string" />
<part name="strReqDepartDate" type="xsd:string" />
<part name="strReqDepartTime" type="xsd:string" />
<part name="strResultxml" type="xsd:anyType" />
<part name="Flight_Type" type="xsd:short" />
<part name="strReqFromAirportCode" type="xsd:string" />
<part name="strReqToAirportCode" type="xsd:string" />
<part name="strReqAirlineCode" type="xsd:string" />
<part name="nRowCount" type="xsd:short" />
</message>
BTW, interoperability is definitely a major issue - I tried few examples
from xmethods.net and almost all of them (except those you selected for
the J1 demo) do not work for one reason or another.
Manoj Cheenath <[email protected]> wrote:
Hum! can you pls send me the .wsdl file. From the stack trace it
seems, the wsdl defines two parts in the response message. As you
know, java methods can only return one value. so WLS only
support one part in the response message.
regards,
-manoj
Dimitri Rakitine wrote:
While trying it on a perfectly good wdsl (at least MS toolkit likes it) it throws
the following exception:
Creating external service
java.io.IOException: can not have more than one return type
at weblogic.soap.wsdl.binding.Message.getReturnType(Message.java:64)
at weblogic.soap.wsdl.binding.BindingOperation.populate(BindingOperation.java:52)
at weblogic.soap.wsdl.binding.Binding.populate(Binding.java:48)
at weblogic.soap.wsdl.binding.Definition.populate(Definition.java:116)
at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:173)
at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:137)
at weblogicx.soap.tools.broker.ExternalService.getView(ExternalService.java:209)
at weblogicx.soap.tools.broker.ExternalService.<init>(ExternalService.java:38)
at weblogicx.soap.tools.broker.Registry$2.mouseReleased(Registry.java:192)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Dimitri--
Dimitri

Similar Messages

Maybe you are looking for

  • Update the DFF attribute in advanced table not working

    Hi, We used a custom value set and enabled the DFF in requisition edit lines page advanced table. We made attribute1 in the DFF as the work order number. When the user enters the work order number, then in PFR, we calculated the project# and task# an

  • Set BACKGROUND COLOR of checkbox to DEFAULT color of form

    Does anyone know how to set the background color of a checkbox to the default color of the form? I have tried using SET_ITEM_PROPERTY to no avail. On a related issue, seems once any color is changed from "<UNSPECIFIED>" (i.e. default) to any other co

  • Charts - custom voices on Legend

    Hi all, when I create a chart with APEX it request to me a query which returns voices "*link, label, value1, value2, ...*". The problem with that is the fact that voice in chart's legend, when showed, lists "*ICON value1, ICON value2, ...*". What I n

  • Where is the DELETE key -- and I don't mean "backspace"

    Every PC of any stripe that I have ever owned -- and we're talking a lot of machines in nearly 30 years of this -- has had two 'delete' keys. One is a backspace key -- it erases characters in before the cursor. It's usually found above the enter/retu

  • How do i download with a serial number

    i would like to install adobe products the i bought from your website. looked for 2 hrs cannot find how. Forums are a waste of space.