[Vtigercrm-commits] [Vtiger development] #5427: WSDL Service Port Location Incorrect
Vtiger development
vtiger-tickets at trac.vtiger.com
Thu Jan 29 11:14:21 GMT 2015
#5427: WSDL Service Port Location Incorrect
---------------------------+-------------------------
Reporter: derek.belrose | Owner: developer
Type: defect | Status: closed
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 5.1.0-wip
Severity: Critical | Resolution: wontfix
Keywords: |
---------------------------+-------------------------
Changes (by prasad):
* status: new => closed
* resolution: => wontfix
Old description:
> 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.
New description:
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.
--
Comment:
SOAP entry point is deprecated - please use webservices.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5427#comment:5>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list