def plugin_snmp_getObjectTypeById(objectTypeId: BigInt): Future[stockquote.SO_Snmp_ObjectType] =
soapClient.requestResponse(scala.xml.Elem(targetNamespace map {defaultScope.getPrefix(_)} getOrElse {""}, "plugin_snmp_getObjectTypeById", scala.xml.Null, defaultScope, true,
scalaxb.toXML(objectTypeId, Some("http://www.sevone.com/"), "objectTypeId", defaultScope): _*),
Nil, defaultScope, baseAddress, "POST", Some(new java.net.URI("urn:SevOneApi#SevOneApiServer#plugin_snmp_getObjectTypeById"))).transform({ case (header, body) =>
scalaxb.fromXML[stockquote.SO_Snmp_ObjectType]((scalaxb.Helper.resolveSoap11Refs(body.head) \ "return").head, Nil) }, {
case x: scalaxb.Soap11Fault[_] => x
case x => x
})
This is one of the auto generated method. I've selected with green the place where I'm getting Exception
java.net.URISyntaxException: Illegal character in path at index
In most cases what I have seen during google soap action url was just a simple url. Programs like SoapUI and Altova Xmlspy are able to managed such an urn's....
понедельник, 17 ноября 2014 г., 19:53:58 UTC+4 пользователь eugene yokota написал: