While researching my first attempt at consuming a web service in DI, I came across in the documentation “The function Editor does not allow complex schema configuration.” Am I to understand that this only applies to the Function Editor only, or does this apply to DI in general?
Here: http://diamond.businessobjects.com/node/5445 is the proof DI can deal with complex schemas. Where you typical have troubles with is a not-well-defined XML, e.g. I have a XML with subschema ANY. What is ANY? A number? a varchar? a order schema? a delivery schema? It could be anything. In these cases you have to help DI a bit.
I appreciate the reference to this information, it may come in handy down the road.
However, I what I was looking for was something directly related to web services and the variables required for service methods. In the soap world, the methods could require an associative array including all variables required for the method, instead of n number of variables. For instance, if I had a function that sent customer information to a method I could write the method to require one variable name cust_info. But cust_info would be an associative array including ([first_name],[last_name],[address],[phone],[email]) and so on. But because its an array, its passed as one variable to the method.
The documentation indicates that the function editor that is used to interact with the web service does not allow complex schema’s. But this is kind of vague. The tone indicates that the function editor doesn’t support it, but is there a manual way of accommodating a complex schema that the web service method requires.
I see. Yes, Data Integrator supports both kinds of notations. For the second you do not pass in a scalar column but an entire schema with multiple columns and multiple rows.
Hi,
we are using Web Services as Source in Data Integrator.
We are able to invoke the Web service ,but we are not getting the output.
I am seeing a error saying XML parser failed.
An element named (element where we getting the problem) present in the data input does not exist in the xml format used to setup this XML source in data flow .Please validate your XML data .XML parser falied
Error Code :XML 240108
This error is coming up when we are doing the query transformation of getting the response from webservice.
Please let me know,any help from your side in this issue would be gratly appreciated.
you are calling a webservice function in a query transform by importing the web service operation into a web service Adapter datastore ?
or sending an XML input message to a Real time service ?
if you are calling a web service opertion from Adapter Datastore, check the input XML that you are sending to the web service function, is it maching the funtion input schema or not ?