Joomla.it Forum
Non solo Joomla... => Sviluppo => : zeroc00l 11 Oct 2012, 12:54:44
-
Ciao a tuti, ho un problemone e spero che qualcuno possa dare un aiuto:
Ho un sito sviluppato con Joomla e devo integrare alcune funzionalità di un CUP Online, la società di riferimento mi ha fornito solo 3 files, uno con le specifiche web, un altro che spiea cosa è l'inerfaccia web e li spiegano che l'implementazione viene rimandata a chi deve fare l'integrazione cioè io ed infine un file "wsdl.xml".
Dentro wsdl.xml c'è qualcosa del genere:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.sitosocietà.it/WSCup" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.sitosocietà.it/WSCup" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.sitosocietà.it/WSCup">
<s:element name="Echo">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="s" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="EchoResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="EchoResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetExamListByDescription">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="examDescriprion" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetExamListByDescriptionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetExamListByDescriptionResult" type="tns:ArrayOfExam" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfExam">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Exam" nillable="true" type="tns:Exam" />
</s:sequence>
</s:complexType>
<s:complexType name="Exam">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="id" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="description" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="branch" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="GetExamListByCode">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="examCode" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetExamListByCodeResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetExamListByCodeResult" type="tns:ArrayOfExam" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SaveReservation">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="r" type="tns:Reservation" />
<s:element minOccurs="0" maxOccurs="1" name="reservationId" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
....continua
In pratica non ho idea di cosa debba fare, ho cercato in giro per Internet ma più di ottenere spiegazioni su cosa sia SOAP, in ealtà non ho trovato esempi utili o frose semplicemente non sono riuscito ad individuarli.
Attendo qualche risposta e ovviamente resto disponibile per ulteriori ragguagli su ciò che ho in possesso.
Grazie anticipatamente.
-
Direi che si stà parlando di un web service.
Quì c'è una presentazione che ti può dare qualche dritta:
http://www.slideshare.net/HermanPeeren/webservices-connecting-joomla-with-other-programs-4399412
Prova a cercare sui motori di ricerca "Joomla SOAP integration" e guarda se qualcosa fa al caso tuo.