Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
tsja #1
conume WEBLOGIC webservice - ARRAYOFSTRING problem ?!
I have created a webservice which is running fine on BEA Weblogic, the WDSL is
generated automatically.
When I try to invoke the ws method "getFile" from coldfusion it states ...
ILLEGAL ARGUMENT EXCEPTION ...
I suppose this is because there is a problem with the ARRAYOFSTRING definition
in the WSDL or in the interpretation from COLDFUSION of this complex-type.
Is this so and what to do about it?
WSDL extract ::
<s:element name="getFile">
<s:complexType>
<s:sequence>
<s:element name="id" type="ope:ArrayOfString" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
...
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element name="String" type="s:string" nillable="true" minOccurs="0"
maxOccurs="unbounded"/>
</s:sequence>
</s:complexType>
COLDFUSION extract ::
<cfset myarray=ArrayNew(1)>
<cfset myarray[1]="one">
<cfset myarray[2]="two">
<CFINVOKE WEBSERVICE="http://serverwebservice.jws?WSDL"
METHOD="getFile" returnVariable="result">
<CFINVOKEARGUMENT name="id" value="myarray"/>
<CFINVOKE>
tsja Guest
-
FMS + WebLogic
In my application, there is a FMS + webLogic, webLogic listens some external services. As the data arrives webLogic, I hope webLogic can push the... -
ColdFusion MX7 and BEA WebLogic
We are trying to set up ColdFusion MX 7 Enterprise on a Windows 2003 server under BEA WebLogic 8.1 SP3. We are trying to use WebLogic as the web... -
Problem deploying ColdFusion on Weblogic
Hi, I have bea Weblogic 8.1 installed on Window Server 2003. I followed this... -
Installing with weblogic
Hi, I just got the flex 1.5, and installed it with weblogic 7, when I go to the samples url I get the index page it shows up file, but when when... -
weblogic !!!
Pranav Thaker wrote: http://edocs.bea.com ?? In general Weblogic is Weblogic across OS vendor types. -
tsja #2
Re: conume WEBLOGIC webservice - ARRAYOFSTRING problem?!
Solved myself.
CFM code has to be ...
:)
<cfset myArray = ArrayNew(1)>
<cfset myArray[1] = "01">
<cfset myArray[2] = "02">
<cfset aArrayOfString=StructNew()>
<cfset aArrayOfString.string=#myArray#>
tsja Guest
-
juanaries14@hotmail.com #3
Re: conume WEBLOGIC webservice - ARRAYOFSTRING problem ?!
great, i got the same problem but I solved with this. thx!
juanaries14@hotmail.com Guest



Reply With Quote

