ssis web service task error - sql-server

Hi i am using a web service which is basically use for sending the mail . For this i am using web service task in SSIS and this service input parameter is text message in which i am passing a return XML code from execute sql task. when i run my package it's give me below error:
"The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:strProdUserDataXML. The InnerException message was 'There was an error deserializing the object of type System.String. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 131, position 57.'. Please see InnerException for more details."
One thing i checked if i pass small xml code in text message parameter than it don't gives error.
Please help me how can i increase the size using web service task in ssis

Related

How to config activemq DB persistence to Oracle?

I need steps to configure Active MQ persistence to Oracle database. I was reading some blogs but couldn't find a solid solution. Can someone please guide me as I am new when it comes to configuring Active MQs.
Thanks in advance.
Edit 1 -
I followed steps mentioned on official blog, but ended up getting below error.
URL : https://activemq.apache.org/how-to-configure-a-new-database
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 92 in XML document from class path resource [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 92; columnNumber: 48; cvc-complex-type.2.4.a: Invalid content was found starting with element 'jdbcPersistence'. One of '{"http://activemq.apache.org/schema/core":jdbcPersistenceAdapter, "http://activemq.apache.org/schema/core":journalPersistenceAdapter, "http://activemq.apache.org/schema/core":kahaDB, "http://activemq.apache.org/schema/core":levelDB, "http://activemq.apache.org/schema/core":mKahaDB, "http://activemq.apache.org/schema/core":memoryPersistenceAdapter, "http://activemq.apache.org/schema/core":replicatedLevelDB, WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.
Edit 2 -
I was able to achieve this. Now issue is messages are getting stored in DB as in BLOB format but I want them to be stored as in plain/text. Can someone please help?
Messages have to be stored as a BLOB, since ActiveMQ supports many non-text formats bytes, map, object and stream message types.

Log Logic Apps error messages to Azure storage file

I have some steps in my logic apps eg Parse JSON. If they fail, I can see the reason for the failure when I open the step in logic apps eg string instead of integer.
How can I log these error messages in my Azure storage account.
The dynamic content dialogue box doesn't specify error messages.
I have created a storage account, created files, populated them with a string and put them into the storage account. I just need to get hold of the error message.
I will be processing JSON from HTTP requests. If the JSON is invalid ie does not conform to the expected schema, I need the error logged, so people can query it with the provider of the data.
If you just want to log the runs error message, it is not necessary to be so troublesome. You could just use outputs to implement it.
You set the create blob action run after parse json action fails, the blob content could be outputs('Parse_JSON')['errors'], if just want to get the error message it should be outputs('Parse_JSON')['errors'][0]['message'].

Getting error "Failed to invoke createSingle" while using salesforce connector in mule

I am using Salesforce connector to insert the customer details in the salesforce. I have used salesforce basic authentication configuration and operation used is "Create Single" and object type is "Account", and I am passing the whole payload to the salesforce connector. But when it hits the salesforce connector it throws error saying "Failed to invoke createSingle".
Can someone explain me why I am getting this error? Is there something that I am missing? I am unable to understand.
It was a miss from my side. The payload which I was sending to the connector had one extra field mapping and that is why it was throwing the error as the fields were not matching with the connector fields.

weird error message in solr

I'm using solr and I got following error message:
Exception in thread "main" org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/octet-stream but got text/html.
This means that your Solr server is outputting HTML instead of the expected binary data. This usually happens because it's throwing an error and displaying an error page, and not returning any useful information for SolrJ itself.
Check the server container log for useful information to see what the error is on the server side and fix that first.

How to handle not well formed xml on OSB

Hi I am using OSB 11g in my project.
I am receiving some data's that are not XML or there are not well formed.
When my proxy are set to "Messaging service" I am able to handle my receiving data's in JavaCallouts
But .. when I choose "Any XML service" before I handle the receiving data OSB tries to parse the data
and raises error : Failure while unmarshalling message: Failed to parse XML text.
I don't need to parse the data, I just want to check what data I received, guess who is sending
it and just print it into a file.
Is there any way to handle the receiving data when error as a string using "Any XML service" ?
You can choose "messaging service" as service type and "Text" as request message type.
This would prevent OSB from parsing data as XML.
you would be forced to parse the data as String but I see that is no issue for you.
You need to select "message type" as service type. In the proxy message flow use XQuery function "inlineXML()" to retrieve required information.Hope this helps.

Resources