[erlang-questions] How combine WSDL along with XSD using erlsom + yaws_soap_lib
Willem de Jong
Thu Sep 10 08:04:38 CEST 2015
Yes, it should be possible to use yaws_soap_lib with a WSDL and an XSD,
either by importing the XSD or by embedding it in the WSDL.
At first sight I would say that the definition of ClassA is valid and
should be accepted by erlsom.
Can you give a bit more information about what you are doing? Perhaps send
me the WSDL and XSD and the commands that you have been trying.
On Wed, Sep 9, 2015 at 7:56 PM, David García <>
> Would it be possible to combine WSDL along with XSD file when using
> I have already tried importing XSD from WSDL, as well as copying the
> content of the XSD into the WSDL.
> Apparently there's a problem with erlsom dealing with sequence definitions
> in the XSD file:
> <element name="ClassA">
> <element ref="MoMa" />
> <sequence minOccurs="0" maxOccurs="unbounded">
> <element ref="Resp" />
> <element ref="ErrMsg" />
> I get "*Group definition not found*" for the sequence elements, because
> it looks like erlsom uses a default prefix ("P:") for creating internal
> structure, but it does not use the prefix in the sequence erlsom internal
> structure, then it can not link it.
> I have already tried compiling and adding the XSD model to the WSDL model
> using erlsom API methods, but I didn't succeed to get it working.
> Any clue?
> Thanks in advance.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions