Neuron ESB User Network

The Service Bus for the Connected Business

Hello:

I'm trying to add a metadata url as a service under process steps but when I test the process to verify if the webservice is getting called it throws an error "Aborted: metadata contains a reference that cannot be resolved."

The webservice metadata url is not written in .NET. It is from a 3rd party vendor. 

Has anyone experienced this and what would be the recommended solution?

Thanks

Mike

Views: 2745

Reply to This

Replies to This Discussion

Sorry for the delay in responding. Can you reply and attach the WSDL that you were trying to use for the remote service?

Hi Michael:

The webservice is in one of the internal servers within our network so the wsdl  wont be accessible from outside.

This webservice is a 3rd party product called Informatica. I've read from some forum that you have to include 

mexHttpBinding but this is not a WCF service so there's no way for us to make that change. We can consume it directly from a .NET client application but we're 
having issues when calling the webservice within Neuron.

Thanks


Any takers on this?

I'm having exactly the same issue trying to load the WSDL for the Dynamics CRM 4 CrmService.

This again is not a WCF Service but a classic ASMX.  Are classic ASMX Services Supported? 

I note that a good portion of the documentation shipped with 3.0.3 is actually recycled from earlier versions (up to and including some documentation that is clearly from 2.5, e.g. the CRM Workflow Adaptor in Development -> Adaptors -> Neuron Adaptors), so I'm not certain I can rely on statements there that imply they are.

Hi Michael. Calling classic ASMX services is supported. You should not have to do anything special to use them. For the services that you have chosen though, there appears to be some issue that Neuron has accessing a schema or other file that is referenced by the WSDLs that you are trying to import. Without seeing the actual WSDL, it's hard for me to tell you what the issue is.

Have you reviewed the WSDL data that you are trying to import from Neuron. Do you see any imports for other WSDL files or XSD files? Can the Neuron server access those URLs? If there's a connectivity issue or security issue when Neuron attempts to download the referenced documents, Neuron will not be able to import the WSDL document and generate the service definition.

The WSDL for the Dynamics CRM Web Services is attached - for fairly obvious reasons I can't do anything with it, given it's supplied as-is by Microsoft.

There don't appear to be any issues accessing that server, or even those services, given that the CRM Subscription Adaptor is working fine (and that uses them, under the hood).

There are numerous external import references, the vast majority of which are to Microsoft Schemas, with the two internal ones (lines 20741/20744) being the same as the actual reference for the WSDL itself.  Both the User logged in, and the user that runs the ESB Services are CRM System Administrators and Local Administrators on the Server.

Attachments:

What binding do the service connectors use that were creating using this WSDL?

I haven't tried setting up a Service Endpoint under connections yet (that was coming next). Basically this is simply where I am trying to specify an endpoint URL for a "Service" Step in a Process. 

I'm not sure we would need to define any Service Endpoints (assuming we can use the Subscription and Publishing Adaptors).

Hi Michael O.

The workaround in my case was to use the service url within the Service step process. I was using the metadata url property but I seem to be having issues with the size of the wsdl. I removed the wsdl link and used the service url directly and that worked for me.

Hope this helps,

Mike V

Michael(s),

 

The problem you are experiencing is indeed with the size of the WSDL from the service you want to call.  When the metadata option is selected, the Service Step downloads the WSDL at runtime (yes, for each execution of the Process).  When doing this, the Service Step utilizes the default settings of the basicHttp binding, which has a maxReceivedMessageSize of 65536.  So if your WSDL is larger than that, it fails.  I know the exception is misleading, but that’s what WCF is giving us L  Unfortunately there is currently no way for us to override that setting without a code change in Neuron (which we may do).

 

My recommendation is to NOT use the metadata option on the Service Step.  I know it’s simpler, but you just need to put the Service URL, Action and the BindingName.  For most, the BindingName will be basicHttpBinding.  If the default settings for the binding are not sufficient, you’ll need to add a binding configuration to the config file, and then set the BindingConfigurationName to the name of the binding you added.  You’d add this to esbservice.exe.config.  If you plan to test the Service Step using the Process tester you would also need to add the binding configuration to the NeuronExplorer.exe.config file. By not using the metadata option you are making the Service Step more performant.

 

Let us know if you have any further questions,

 

Joe

Thanks Joe. This solution worked for me.

That worked for me too :) - though in fact I've found another workaround using a Helper DLL to wrap the service references, then simply using Code steps.

That has that added advantage of hiding some of the complexities with establishing connectivity with CRM.

Now if I can get the Publishing Adapter working, we will be cooking with gas . . .

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service