For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > November 2005 > VW: SOAP Service problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author VW: SOAP Service problem
frankgerlach@gmail.com

2005-11-29, 9:57 pm

I just created a demo SOAP Service, which I would like to invoke from
C# or Java. Unfortunately, I always get the error message "'' not
found".
The following is responded by the server when invoking it:

HTTP/1.1 500
Content-type: text/xml;charset=utf-8
Connection: close
Content-length: 280

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://
schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SO
AP-ENV:Client</faultcode><faultstring>'' not found
!</faultstring></SOAP-ENV:Fau
lt></SOAP-ENV:Body></SOAP-ENV:Envelope>

What does this mean ? Do I have to register/bind/whatever something on
the server side ???

frankgerlach@gmail.com

2005-11-29, 9:57 pm

That is how I start my server:
|service|
service:=FGService new.
service newHttpBrokerAtPort:4920 bindingName:'HelloWorldServer'.
service startServers

(FGService has been created by the "Web Services Wizard")

frankgerlach@gmail.com

2005-11-29, 9:57 pm

The following is the request sent to the server:

POST / HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.4
Host: localhost:4920
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:vwservices#DoSum"
Content-Length: 488

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><DoSum
xmlns="urn:vwservices"><doSum xmlns=""><ns1:Integer
xmlns:ns1="urn:vwservices">1</ns1:Integer><ns2:Integer
xmlns:ns2="urn:vwservices">2</ns2:Integer><ns3:Integer
xmlns:ns3="urn:vwservices">5</ns3:Integer></doSum></DoSum></soapenv:Body></soapenv:Envelope>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com