Web Services Question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Web Services Question

Michael Gross-4
            Hi,
                 I trying to call a web service via the classes that were built by the Smalltalk Web Services Wizard.
            This is how the Wizard says to invoke it.
 
         client := CISUNIXPortWsdlClient new.
 
         "Services invocation"

          value := client lPECVAXX.
            If  I try to call the invoke this I am getting an error "Complex type: xxxxxx Is missing mandatory Node : "
 
            I was wondering why I am getting this error and how to get around it. It seems like something needs population but, I figure the code from the Wizard would    
            work. I appreciate any reponses as I am trying to get my head around this.
 
 
            Thanks!!          
             
 

Michael Gross

Solution Center
Blue Heron Consulting
90 Airpark Dr, Suite 200
Rochester, NY 14624

www.BlueHeron-Consulting.com

Office: 800-253-3449 / 585-464-8035 (x207)
Fax:    800-464-9901 / 585-464-9760

 
Reply | Threaded
Open this post in threaded view
|

RE: Web Services Question

Kogan, Tamara
The error was raised while unmarshaling the server response. The
response doesn't include a mandatory node from the complex type xxxxx.
To check it:
1. Look at the wsdl <types> element. There should be described the xxxx
complex type and the node with minOccurs="1"
2. from the UHE stack you should be able to find HttpResponse as it
arrived from a server. The response #contents returns the message body
string where you can see the xxxx element.

HTH,
Tamara Kogan
Smalltalk development,
Cincom Systems

> -----Original Message-----
> From: Michael Gross [mailto:[hidden email]]
> Sent: Tuesday, July 31, 2007 4:13 PM
> To: [hidden email]
> Subject: Web Services Question
>
>             Hi,
>                  I trying to call a web service via the classes that
were

> built by the Smalltalk Web Services Wizard.
>             This is how the Wizard says to invoke it.
>
>          client := CISUNIXPortWsdlClient new.
>
>          "Services invocation"
>
>           value := client lPECVAXX.
>
>             If  I try to call the invoke this I am getting an error
> "Complex type: xxxxxx Is missing mandatory Node : "
>
>             I was wondering why I am getting this error and how to get
> around it. It seems like something needs population but, I figure the
code
> from the Wizard would
>             work. I appreciate any reponses as I am trying to get my
head

> around this.
>
>
>             Thanks!!
>
>
>
> Michael Gross
>
> Solution Center
> Blue Heron Consulting
> 90 Airpark Dr, Suite 200
> Rochester, NY 14624
>
> www.BlueHeron-Consulting.com <http://www.blueheron-consulting.com/>
>
> Office: 800-253-3449 / 585-464-8035 (x207)
> Fax:    800-464-9901 / 585-464-9760
>
>