[erlang-questions] Troubleshooting using YAWS + SOAP

Laura M. Castro Souto <>
Wed Jul 18 11:46:29 CEST 2007


   Hello Willem,

	Thank you very much for trying, anyway. We keep looking for a reason for this 
behaviour, but starting to think it might not be a YAWS nor SOAP problem...

> One thing that may be the cause of the problem is that one important
> statement is still missing in the documentation: you have to actually start
> the server... "yaws:start_embedded(Docroot, SL,GL)", assuming that Docroot,
> GL and SL have the right values, see http://yaws.hyber.org/soap_intro.yaws.

	Yes, we realized that. However, that is not exactly how we start YAWS, but I 
think it must be equivalent. This is what we do:

DGC = yaws_config:make_default_gconf(true, 'our-unique-id'),
DGC#gconf{
		logdir = "/var/log/our-application",
		tmpdir = "/tmp",
		enable_soap = true
		},
SC = #sconf{
		port = 8888,
		docroot = "yaws",
		listen = {0,0,0,0},
		servername = "Our HTTP server",
		partial_post_size=10000000
		},
yaws_config:add_yaws_soap_srv(GC),
yaws_api:setconf(GC, [[SC]]),
yaws_soap_srv:setup({ourhandlermodule,handler},"file:///path/to/Service.wsdl"),

	I will let you know if we make any progress.

	Regards,

--
Laura M. Castro
MADS Group - Computer Science Department
University of A Corunna
http://www.madsgroup.org/staff/laura/index_en.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070718/990fbf65/attachment.bin>


More information about the erlang-questions mailing list