[Vtigercrm-commits] [vtiger development] #5427: WSDL Service Port Location Incorrect
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Jan 5 10:20:14 EST 2009
#5427: WSDL Service Port Location Incorrect
---------------------------+------------------------------------------------
Reporter: derek.belrose | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.4
Keywords: |
---------------------------+------------------------------------------------
I've come across what I think might be a bug in the generation of
5.0.4's WSDL file for vtigerservice.php.
<service name="vtigersoap">
<port name="vtigersoapPort" binding="tns:vtigersoapBinding">
<soap:address location="http://domain/vtigerservice.php"/>
</port>
</service>
This, unfortunately, fails on almost everything other than nusoap, because
the endpoint URI is incorrect due to the service parameter not being
appended to the port address.
What I expect to see is the
http://domain/vtigerservice.php?service=<service>
For example:
<service name="vtigersoap">
<port name="vtigersoapPort" binding="tns:vtigersoapBinding">
<soap:address
location="http://domain/vtigerservice.php?service=webforms"/>
</port>
</service>
I've attached a simple patch that fixes this on my setup, but I haven't
tested it on the 5.1.x branch. Feel free to implement if you wish.
Thanks.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5427>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list