Domanda

I took the wsdl file given by a tibco web service and I put it in my project, after that I created the web reference giving to vs 2005 (yes I'm working on a legacy project) that wsdl file. VS 2005 generated the proxy and I used it in my vb.net code.

When I call the method exposed by the proxy I always get a null result. If I call the service with soapUI it give a correct response with expected data. How this is possible? The wsdl is given by the tibco service itself how can vs 2005 misunderstand the result of the call?

Many thanks in advance for any answer.

My vb code is:

Dim EvalError As Company.FrontEnd.Agents.Ws_EvaluateAgency.tnsERRORAlpha
Dim EvaluateOutput() As Company.FrontEnd.Agents.Ws_EvaluateAgency.tnsPNREvaluate

EvaluateInput.EvaluationOption.EvaluatorOption.ElaborationMode = FrontEnd.Agents.Ws_EvaluateAgency.tnsTypeOfElaboration.AutopilotAgy  '' Fase III
EvalError = ws_Valutazione.AgencyEvaluate(EvaluateInput, EvaluateOutput)

The input object have correct data. The output object is defined an so the EvalError

SOLVED: Was missing namespace specification in wsdl:input and wsdl:output tag of the wsdl

È stato utile?

Soluzione

SOLVED: Was missing namespace specification in wsdl:input and wsdl:output tag of the wsdl For an unknown (for me) reason you MUST set namespace="http://InputMessageNamespace" in wsdl:input and namespace="http://OutputMessageNamespace" in wsdl:output

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top