Author Message
NaikAshok
Joined: Jan 29, 2008
Messages: 0
Offline
Hi ,
I was trying the below startCallNotification WSDL example and got the below error :
<messageId>SVC0002</messageId>
<text>Invalid input value for message part %1</text>
.
Any suggestions for corrections?

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:loc="http://www.csapi.org/schema/parlayx/call_notification/notification_manager/v3_1/local">
<soapenv:Header/>
<soapenv:Body>
<loc:startCallNotification>
<loc:reference>
<endpoint>http://135.35.66.210:9080/RaptorWeb/services/CallNotification</endpoint>
<interfaceName>quancedo</interfaceName>
<correlator>verrantquras</correlator>
</loc:reference>
<!--1 or more repetitions:-->
<loc:addresses>tel:1702</loc:addresses>
<!--Zero or more repetitions:-->
<loc:criteria>NotReachable</loc:criteria>
<loc:criteria>CalledNumber</loc:criteria>
<loc:criteria> Disconnected</loc:criteria>
<loc:criteria> NoAnswer</loc:criteria>
<loc:criteria>Answer</loc:criteria>
<loc:criteria>Busy</loc:criteria>
</loc:startCallNotification>
</soapenv:Body>
</soapenv:Envelope>
JohnMacAuley2
Joined: Nov 11, 2010
Messages: 0
Offline
Hello Naik,

I can see two things incorrect in your XML posted here. The reason you are getting the error is that you have placed spaces in the "<loc:criteria> Disconnected</loc:criteria>" and "<loc:criteria> NoAnswer</loc:criteria>" elements. These are enumerations so ACE will reject them since they do not match those defined in the schema.

The next issue you will have is that the "<endpoint>" element should point to a valid SOAP endpoint within your application. This is where you would like to receive the call notifications. It would appear that you have put the ACE URL in this field.

John.
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Naik, you're not hand encoding your XML, are you? Are you using a web service client tool like .NET, Axis, JAX-WS, etc?
NaikAshok
Joined: Jan 29, 2008
Messages: 0
Offline
Hi John , Thanks for the tips. I'll do the suggested connections.

Hi Joel , I am using WSDL (XML) code in an IDE called soapUI. I am not using .NET, Axis, JAX-WS, etc? I would like to use AXIS .Do you have pointers to a good WSDL-Asis example to so as to get a head start .
JohnMacAuley2
Joined: Nov 11, 2010
Messages: 0
Offline
If you are programming in Java I would recommend JAX-WS. It is dead simple and integrated with most IDE as well. Drag, drop, program.

I think we need to post some examples here :-)

John.
Go to:   
Mobile view