[erlang-questions] yaws_soap_lib question
Corrado Santoro
csanto@REDACTED
Fri Jul 18 14:03:33 CEST 2008
Hi all,
I'm a SOAP/SW newbie and I'm trying to use yaws as a client for a web
service.
This is what happens after I initialize the model and try to call a service.
19> yaws_soap_lib:call(M, "add", [1, 2]).
=ERROR REPORT==== 18-Jul-2008::13:59:49 ===
Error in process <0.60.0> with exit value: {{nocatch,{error,"Struct
doesn't match model: recordtype not expected:
p:add"}},[{erlsom_write,findAlternative,4},{erlsom_write,processSubType,5},{erlsom_write,processElementValues,7},{erlsom_write,struct2xml,6...
The wsdl file has been generated from a Java interface using java2wsl.
This is the java interface:
public interface Test {
public int add (int x, int y);
}
I've generated the WSDL (which is attached to this message) using
DOCUMENT and LITERAL encodig.
Any suggestions??
thanks.
--Corrado
--
==================================================================
Eng. Corrado Santoro, Ph.D.
University of Catania - ITALY - Engineering Faculty
Tel: +39 095 7382380 VoIP: sip:7035@REDACTED
Personal Home Page: http://www.diit.unict.it/users/csanto
NUXI Home Page: http://nuxi.diit.unict.it
==================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.wsdl
Type: text/xml
Size: 2032 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080718/aa0ebda9/attachment.xml>
More information about the erlang-questions
mailing list