Forum Discussion
isabel
15 years agoNew Contributor
After some research I have some more informations about the points of my previous post.
1) Logo image in the webui page
When deploying the war generated by SoapUI in a weblogic server the logo image doesn't appears. Don't be scared, the war still works after all.
2) Not able to add wsdl from the url
I'm still using the workaround. I don't know why but there's some problem in SoapUI when generating the war for mocks that were generated from a wsdl with imported schema.
3) Problem using script, query_match or xpath dispatchers for mock services - SOLVED for groovy scripts
The scripts I was using works fine when running the mocks services within soapui or the war on tomcat but not in weblogic.
Instead of the usual:
I'm now using:
Don't know what's up with that but the second code works fine in weblogic.
Well, hope I helped some other fellows with the same issues.
1) Logo image in the webui page
When deploying the war generated by SoapUI in a weblogic server the logo image doesn't appears. Don't be scared, the war still works after all.
2) Not able to add wsdl from the url
I'm still using the workaround. I don't know why but there's some problem in SoapUI when generating the war for mocks that were generated from a wsdl with imported schema.
3) Problem using script, query_match or xpath dispatchers for mock services - SOLVED for groovy scripts
The scripts I was using works fine when running the mocks services within soapui or the war on tomcat but not in weblogic.
Instead of the usual:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
try{
def holder = groovyUtils.getXmlHolder( mockRequest.getRequestContent() )
holder.getNodeValue("//item:codigo")
}catch(all){
log.error("Exception: " + all.getMessage())
}
I'm now using:
def req = new XmlSlurper().parseText(mockRequest.requestContent)
def item = req.Body.item.codigo.text().toUpperCase()
return item
Don't know what's up with that but the second code works fine in weblogic.
Well, hope I helped some other fellows with the same issues.