This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Feb 11, 2016, 1:38 PM
16 Posts

Consuming a webservice - domino server

  • Category: Domino Designer
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: WSDL
  • Replies: 1

Hi,

I have not needed to use SOAP much, except where someone else has done the hard yards!  My understanding of ND9 was that since 7, this was much easier...

So - I have a SOAP webservice I would like to consume.  When I try to import it, I get the following error:

The requested operation failed: XML Schema "anyAttribute" elements are not supported.

I have tried to import the WSDL as a separate file - same error.  My coding background is more Lotusscript than Java.  Can anyone recommend what method I should use to consume the SOAP webservice?  Should I use the MS SOAP Toolkit or XMLHTTP (my preference is not to due to much the dependency on a non Domino tool) - any advice?  I am looking to have a scheduled agent call the webservice.

A

Feb 24, 2016, 8:58 AM
11 Posts
anyAttribute - technote

http://www-01.ibm.com/support/docview.wss?uid=swg1LO41033

obviously Domino has a problem if xsd:any or xsd:anyAttribute ist provided in wsdl. Seems that this is not solved in 9.0.1.

Maybe it is possible to remove those attributes from wsdl or Change wsdl to a specific attribute type.

In a different case I used msxml to call a Service which worked for me.

http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/855dc7fcfd5fec9a85256b870069c0ab/bc4627f58ea92d998525704a003fba96?OpenDocument

Unsupported constructs
For this release, the following WSDL or XML Schema constructs have limited or no supported mappings to LotusScript or Java, and are rejected (or ignored, if indicated) by the Designer “Import WSDL” feature:

      • any element
      • anyAttribute element
      • choice element, if nested, optional, or maxOccurs > 1 (arrays)
      • redefine element
      • sequence element, if maxOccurs > 1 (arrays)
      • union simple type
      • vector and map (APACHESOAP namespace) – no LotusScript mappings
      • MIME attachments
      • simple type facets – ignored (except for enumeration)
      • attribute, element default values – ignored
      • mixed content (character data alongside complex type subelements) -- ignored

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal