7.1 wsdl generated arrays ?!

Hey Matt,
Yep it is annoying however you should not have a problem if you go the WSDL first approach and let it generate the artifacts for you.

At Miami, wM/SAG introduced a new tool for tracking feature requests called BrainStorm. It’s based on a product from Salesforce.com called “Ideas”.

At any rate, why not post your suggestion(s) related to any features you’d like to see in IS 7.12 related to WSDL or web services? There are only a starter set of suggestions there now, so anything you post may stand out.

The URL is simply brainstorm.softwareag.com. You’ll have to register at the site and wait for your registration request to be approved. If you do submit this, share the idea name or URL with us and we can go vote for it.

Mark

All,
ArrayOf problem solved in webMethods 7.1.1 :cool:

IS_7-1-1_WebSvcsXML_Fix9 had be replace by IS_7-1-1_WebSvcsXML_Fix11

Fix11 is the solution… Below is the content from Readme…


If the input signature of a service contains a document list for
a document type created from an XML Schema definition, the
service fails with a NullPointerException when it is invoked as
a Web service.

When Integration Server generates a WSDL file for a service
(as part of creating the provider Web service descriptor),
Integration Server creates an ArrayOfXXX variable to represent
the document list in the WSDL (where XXX is the original name of
the document list variable). The ArrayOfXXX variable acts as a
wrapper for the document list. At run time, Integration Server
unwraps the document list from the ArrayOfXXX variable and
passes the document list to the service. However, Integration
Server did not always unwrap the document list and instead
passed the ArrayOfXXX variable data directly to the service,
resulting in a NullPointerException.

Now, Integration Server unwraps ArrayOfXXX and passes the
document list to the service.


Note: However, webMethods support said, this issue is resolved in 712 whereas it is not :eek:… Without applying the same fix in 712 (it throws version conflict warning, but still applies the fix) it generates ArrayOf as document in services :rolleyes:… Will let you know more for the same problem in 712…

Regards,
Senthil

Sumit,
ArrayOf problem solved in webMethods 7.1.1

IS_7-1-1_WebSvcsXML_Fix9 had be replace by IS_7-1-1_WebSvcsXML_Fix11

Fix11 is the solution…

~Senthil

Hi all,
I’m using IS 7.1.2 with IS_7-1-2_WebSvcsXML_Fix7 but it seems not fixed yet.

Anybody facing same issues as me?

Thanks in advance.

Hi,
Even i tried applying the below fixes in wM 7.1.2 and created web service consumer, but the document list and string list are not properly decoded… It shows the ArrayOf variables in input and output document…

IS_7-1-2_Core_Fix9
IS_7-1-2_SrvPrtcl_Fix7
IS_7-1-2_WebSvcsXML_Fix7

The issue was resolved in wM711 wit WebSvcsXML fix 9, but continues to be in wM712 version.

Regards,
Senthil

Thanks Mr Kumar, I’ve applied the same patches and it seems to be not working.

Hi all,
I’ve managed to get my webservice to work.
I’m using SOAP - DOC literal method with WSDL generated from IS.

My WSDL still have the "ArrayOfString" items but with a JAVA client, I managed to generate the proper xml for my IS service to consume.

Below is part of my codes:

SOAPBodyElement payload = ....
SOAPElement message = ....

// to add into array..
message = payload.addChildElement("EmailList");
for (int=0;i<emailAddressList.size();i++) {
     message.addChildElement("ArrayOfstringItem").addTextNode(emailAdressList.toArray[i].getValue());
}

Previously, I was using SOAP - RPC literal.

P.S: I hope this helps. Thanks.

We are facing the same issue. We followed up with SAG and they confirmed that This behavior is expected in 7.1.x and is not expected to be changed.

In 8.0, however, the array wrappers have been removed (except for migrated 7.1.x packages) and the WSDL will be closely follow the IS document type.

Hi,

I have the same issue:( Is there any way to map my schema document (without ArrayOf…) to the WS connector input (with ArrayOf)? Maybe exist in WM tool-service witch can transform my schema document to ArrayOf structure?

All, I am facing the same issue. we are using IS 7.1.3 with Fix Core 8. Please let me know if there is any fix suggested by SAG for this issue.

ns:exceptions
ns:exception
???
ns:exceptionIdString</ns:exceptionId>

IS_7.1.3_Core_Fix11

I installed fix core 12 on lmy local system to see if it helps. However, the issue is open and not getting resolved.

All,
please let me know if you have any updates. As we need the solution asap.

hi ,

Could some one pls let me know if SAG has come with some fix for this “array of issue” in webservices.we are using 7.1.2 v

Dear,

Even we have same problem in 7.1.2. Is there a fix available either in 7.1.3 or 8 version for the ‘ArrayOf’ issue?

Thanks in advance
Pavan.

Have you touch base with SAG tech support or checked Empower site?..pl reach out them in the mean time:

From the empower site…please check this KB articles:

KB #: 1614334178
KB #: 1614333997
KB #: 1614332141

Also do you have this fix installed IS_7-1-2_WebSvcsXML_Fix8 or latest?

HTH,
RMG

thanks RMG for ur suggestions.

Could you please let me know where exactly in empower can i find these KB articles or the path/link to these articles.