Posted: 5 Oct 2017 6:32 EDT Last activity: 10 Oct 2017 15:12 EDT
Soap Integration Wizard cancels with 'reference is not valid'
Hi, I run the Soap Integration Wizard with a wsdl file in Pega 7.2.2. When generating the rules Pega stops and show the following error:
Canceling rule generation, The reference KAMCheckCustomer.4 is not valid. Reason: unexpected character '4' at position 17, expected start of name
This is because the wsdl we received has the following value for porttype, message, service and operation name: KAMCheckCustomer.4. Now Pega apparantly cannot handle the '4' after the dot. So is there a way to run the wizard successfully? We cannot ask the KAMCheckCustomer service provider to change their service name because it already has lots of consumers.
Thanks for the quick response. When I trace the Wizard, the problem seems to be in step 18.104.22.168.2.2.1 of the pyCreateGenerationRequest DT in the Pega-DataModel-DataSources-SOAP class. Please see attached screenshots. Let me know if you need anymore data.
It does look like the "pyOperationName" property is being used as the subscript when working with a Value Group type property, and the "dot" in your operation name is making Pega think it is a "property reference" to follow. The attempt to follow the reference is failing (as it is not a reference!)
It does not seem to have any "fallback logic" to treating the subscript as a literal String.
Due to the fact that the character following the dot character is a number, and Property names cannot start with a number, this makes it even more confused, and the Exception is thrown.
If you are unable to make changes in the WSDL and remote endpoint to resolve this, you should contact Global Customer Support to have your next steps explored by Pega.