John ... you are hitting up against one of the many reasons why SOAP is
a horrible technology.
It does not work terribly well behind load balancers which you are
realizing now. The issue being that the WSDL contains full URL's to the
backend server, which is not accessible from the outside world. What is
required is the end URL point.
You have a number of ways forward here:
1/ Don't use SOAP; this is being flippant, but unless you have a client
that is specifically asking for a SOAP service, then consider supplying
with a REST API using JSON instead of XML. You will save everyone a lot
of hassle. Even SalesForce has gone to a REST API now (though they
still support their SOAP interface).
2/ Do some regex on your WSDL when it goes via the load balancer,
whether you are using nginx or apache this is a well trodden path
3/ Check the source code for OpenBD and give us a patch for supporting a
ENDPOINTURL attribute
We won't be developing support for this. Life is too short when we
simply haven't seen a need for it. If someone wishes to pay for our
time to do it, then we can have a conversation. But SOAP is a dated
technology that has had its day in the sun. It has been replaced with
leaner, faster and simpler technologies.
Sorry this isn't the quick solution you were looking for.
On 13/07/2016 13:43, John Moss wrote:
I've tried this every which way I can think of and can't get it to work.
<cfcomponent>
<cffunction name="hello" returntype="string" access="remote">
<cfreturn "Hello, World!">
</cffunction>
</cfcomponent>
http://localhost:8080/service.cfc?wsdl produces wsdl output.
Then if I save that output and put it in a file I should be able to
refrence the file:
<cfcomponent wsdlfile="/service.wsdl">
<cffunction name="hello" returntype="string" access="remote">
<cfreturn "Hello, World!">
</cffunction>
</cfcomponent>
Calling this using the same url as above returns an error:
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.