Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6771185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:24:07+00:00 2026-05-26T15:24:07+00:00

I am trying to invoke a WebService through SOAP using Erlang and YAWS (yaws_soap_lib

  • 0

I am trying to invoke a WebService through SOAP using Erlang and YAWS (yaws_soap_lib module specifically). The examples published on http://yaws.hyber.org/soap_intro.yaws work for me.

However, when trying to invoke my own web service YAWS fails. The first problem were partner links in the WSDL that were put there because of BPEL is befind this service. I deleted them (for now).

Unfortunately, I’ve come across another problem: mentioned WSDL has an empty <types> tag. Now, I am not very familiar with WSDL specification and SOAP so my question is whether it is

  1. Erlang SOAP library issue that cannot handle empty <types> tag or
  2. badly generated WSDL?

Does anyone know any better Erlang library for handling SOAP? I have taken a look at erlsoap but it does not support WSDLs.

EDIT: error caused by mentioned WSDL:


::error:function_clause
  in function erlsom_add:add_model/2
    called as add_model({model,[{type,'_document',sequence,
              [{el,[{alt,'soap:Envelope','soap:Envelope',...},
                    {alt,'soap:Header',...},
                    {alt,...},
                    {...}],
                   1,1,1}],
              [],undefined,undefined,1,1,1,false,...},
        {type,'soap:detail',sequence,
              [{el,[{alt,'#any',...},{alt,...},{...}|...],0,unbound,1}],
              [],
              {anyAttr,"lax","##any",[...]},
              undefined,2,1,1,...},
        {type,'soap:Fault',sequence,
              [{el,[{alt,...}],1,1,...},
               {el,[{...}],1,...},
               {el,[...],...},
               {el,...}],
              [],undefined,undefined,5,1,...},
        {type,'soap:Body',sequence,
              [{el,[{...}|...],0,...}],
              [],
              {anyAttr,[...],...},
              undefined,2,...},
        {type,'soap:Header',sequence,
              [{el,[...],...}],
              [],
              {anyAttr,...},
              undefined,...},
        {type,'soap:Envelope',sequence,[{el,...},{...}|...],[],{...},...}],
       [{ns,"http://schemas.xmlsoap.org/soap/envelope/","soap"},
        {ns,"http://www.w3.org/2001/XMLSchema","xsd"}],
       "http://schemas.xmlsoap.org/soap/envelope/",[]},undefined)
  in call from yaws_soap_lib:initModel2/5

For those who are familiar with the source code: The problem is the Xsds array returned by getXsdsFromWsdl function is empty.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:24:08+00:00Added an answer on May 26, 2026 at 3:24 pm

    The issue has been resolved in latest YAWS version. In order to construct mentioned WSDL model following command has to be invoked:

    yaws_soap_lib:initModel(WSDL_FILE_URL, [{include_fun, {erlsom_lib, find_xsd}}])
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ASP .Net 3.5 and trying to invoke a WebService using javascript
I was trying to invoke a webservice from phonegap android app using jQuery .ajax
When trying to invoke a method on an external webservice (over the Internet) it
I'm trying to consume a remote Web service that uses HTTP basic authentication, using
I'm trying to consume a WCF webservice using the RPC capabilities of the Protobuf-net.
I'm trying to call the Marketo SOAP Webservice via ASP.NET / C#. I successfully
while trying to generate a proxy from this WebService (http://scdemo14.infor.com:9014/axis/services/wb:wsclocks-inbound?wsdl) I'm receiving this error
I am using C# 2.0, I am trying to call webmethod of my webservice,
I'm trying to invoke a webservice from a console application, and I need to
I'm trying to invoke business logic via JMX (using 'standard' MBeans) in a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.