[erlang-questions] (no subject)

Ahmed Ali <>
Tue Jul 17 10:48:25 CEST 2007


Hi Willem,

This is probably one of the fastest replies I got in an internet forum.
Thanks.

You can find my reply below.

On 7/17/07, Willem de Jong <> wrote:
>
> Hi,
>
> I could try to help you, but I would need to have some additional
> information.
>
> - Could you send me the WSDL? (the version with the 'nillable' still
> included, please)
>

I'll send you the WSDL file privately.

- Could you send me some additional info on the second error? When does it
> occur exactly? Could you send me the complete error message?
>

=ERROR REPORT==== 17-Jul-2007::12:20:23 ===
Error in process <0.52.0> with exit value:
{{badmatch,{error,[{exception,{error,"Unexpected attribute (not namespace
qualified):
nillable"}},{stack,[sequenceType,extensionTypeC,complexContentType,globalComplexTypeType,schemaType,'wsdl:tTypes','wsdl:anyTopLevelOptionalElement'...

** exited: {{badmatch,
                {error,
                    [{exception,
                         {error,
                             "Unexpected attribute (not namespace
qualified): nillable"}},
                     {stack,
                         [sequenceType,
                          extensionTypeC,
                          complexContentType,
                          globalComplexTypeType,
                          schemaType,
                          'wsdl:tTypes',
                          'wsdl:anyTopLevelOptionalElement',
                          'wsdl:tDefinitions']},
                     {received,
                         {startElement,
                             "http://www.w3.org/2001/XMLSchema",
                             "element",
                             "xs",
                             [{attribute,"type","type",[],"xs:anyType"},
                              {attribute,"nillable","nillable",[],"true"},
                              {attribute,"name","name",[],"cause"}]}}]}},
            [{yaws_soap_lib,initModel2,5},
             {erl_eval,do_apply,5},
             {shell,exprs,6},
             {shell,eval_loop,3}]} **


- What error do you get when you try the 'qtest'?
>

I got the following {error,{decoding,[{exception,{error,"unknown tag:
HTML"}},
                  {stack,[undefined]},
                  {received,{startElement,[],"HTML",[],[]}}]}}


Regards,
> Willem
>
> On 7/17/07, Ahmed Ali <> wrote:
>
> > Hi all,
> >
> > I'm new to Erlang and trying to learn. I have the following
> > notes/questions:
> >
> > 1) I didn't find any reference to http_uri module in erlang refernse
> > documentation. I had to look into source code to understand what this module
> > does. I found it while looking at erlsom source code. Just wanted to
> > highlight this for the next release of the documentation :)
> >
> > 2) I'm trying to use yaws_soap_lib for calling some web service. when I
> > call yaws_soap_lib:initModel(Url), I get the following error:
> >
> >  exited: {{badmatch,
> >                 {error,
> >                     [{exception,
> >                          {error,
> >                              "Unexpected attribute (not namespace
> > qualified): nillable"}},
> >
> > I deleted all occurances of nillable="true" from the WSDL file and tried
> > again and still get the following error:
> >
> > ** exited: {{badmatch,
> >                 [{'wsdl:tTypes',
> >                      [],
> >                      undefined,
> >                      [{schemaType,
> >                           [],
> >                           " http://util.java/xsd" ....
> >
> > Also, I tried the test function is yaws_soap_lib:qtest() and it failed.
> > Any help/explenation is appreciated.
> >
> > Best regards,
> >
> > Ahmed Al-Issaei
> >
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070717/c19527ad/attachment.html>


More information about the erlang-questions mailing list