Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Creating .net proxies to access iway ibip services

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Creating .net proxies to access iway ibip services
 Login/Join
 
Member
posted
Hello,

I'm trying to generate a proxy to access some iWay business services (iBSP) from VS2010.

When I use "Add Service Reference", I get and exception trying to consume any service:

XmlSerializer attribute System.Xml.Serialization.XmlAttributeAttribute is not valid in cid. Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute and XmlAnyElement attributes are supported when IsWrapped is true.

This exception happens before the request is actually made (I can't see any request in fiddler).

When I use "Add Web Service", the request goes OK and I can see the soap response with many records in fiddler, but in .net the result array comes empty (null to be more precise).

I have the same error using svcutil.exe

Are iway soap webservices compatible with .net? Any ideas?

Thank you in advance,

André Carlucci


mostly iWay products
 
Posts: 2 | Registered: June 21, 2011Report This Post
Expert
posted Hide Post
Hi Andre,

I checked with our iWay people and here is the suggestion:

To answer the question, the best way is to “Add Web Service”, the terminology might change depending on which version of Visual Studio you are using.

There is a known issue with the iSM SOAP response which doesn’t exactly match the WSDL, the namespace might be different. Since .NET relies on the WSDL for its XML serializer/deserializer, the response will fail to be interpreted correctly.

One way to get around this is to set the iSM JVM property ibsp.wsdl.nsaware to true, and to re-create the iSM web service.

-Dibisp.wsdl.nsaware=true

However this might not solve all the WSDL issues. There should be a fix available soon for iSM 6.1.x

The current workaround is to manually modify the WSDL to match the actual SOAP response schema, as seen from the iBSP test tool (http://localhost:9000/).

More information can be provided if a case is open with Support. You may either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
Thanks Kerry,
I hope they fix that in the future.
All the best,
André


mostly iWay products
 
Posts: 2 | Registered: June 21, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Creating .net proxies to access iway ibip services

Copyright © 1996-2020 Information Builders