Skip to content

Instantly share code, notes, and snippets.

View stefanosala's full-sized avatar
👋

Stefano Sala stefanosala

👋
View GitHub Profile
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns2:koNotify xmlns='http://data.service.ptl.postemobile.it' xmlns:ns2='http://service.ptl.postemobile.it'>
<ns2:ptlRequest>
<errorCode>bill_001</errorCode>
<errorDescription>java.net.SocketTimeoutException: Read timed out</errorDescription>
<productCode>Order n. TEST-201108311521</productCode>
<transactionId>37715008621314796911989</transactionId>
</ns2:ptlRequest>
<?php
/**
* @file
* Drupal site-specific configuration file.
*
* IMPORTANT NOTE:
* This file may have been set to read-only by the Drupal installation
* program. If you make changes to this file, be sure to protect it again
* after making your modifications. Failure to remove write permissions
public function getArgs() {
// ritorna gli argomenti opportunamente strutturati per una chiamata WSDL
return array(
'msisdn' => $this->args['telephone'],
'fieldMap' => array(
'VAS_PP_USER.CUSTOMERS.BIRTHDATE' => array(
$this->args['birthdate'], 'Date', '='
)
),
'merchantId' => $this->args['merchantId'],
<definitions name='MCommerceBean' targetNamespace='http://commerce.m.fe.amos.accenture.com' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://commerce.m.fe.amos.accenture.com' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
<xs:schema targetNamespace='http://commerce.m.fe.amos.accenture.com' version='1.0' xmlns:tns='http://commerce.m.fe.amos.accenture.com' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:complexType name='mCommerceRequest'>
<xs:complexContent>
<xs:extension base='tns:request'>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns1='http://commerce.m.fe.amos.accenture.com'>
<SOAP-ENV:Body>
<ns1:mCommerce>
<request>
<enterpriseId>001</enterpriseId>
<fieldMap>
<entry>
<key>VAS_PP_USER.CUSTOMERS.BIRTHDATE</key>
<value>
<Array arrayType='xsd:string[3]'>
@stefanosala
stefanosala / RegistrationFormType.php
Created September 13, 2011 10:00
Esempio user registration form
use FOS\UserBundle\Form\Type\RegistrationFormType as BaseType;
class RegistrationFormType extends BaseType
{
public function buildForm(FormBuilder $builder, array $options)
{
parent::buildForm($builder, $options);
$builder->add('userType');
}
private function getMockEntityManager()
{
$em = $this->getMockBuilder('Doctrine\ORM\EntityManager')
->disableOriginalConstructor()
->getMock();
$metadataClass = new \stdClass();
$metadataClass->name = 'Hart\DssCoreBundle\Entity\User';
$em->expects($this->once())
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDICSxt4KIV753II0/7lJEdB74neGR8t5oCJpBQDJHGjvQRHOpVmC4nLVgtgFx08AqD80FiB9XgeOIKmv104ZAcPASbbp6MNiF0Mn5s7WS7Dj8tRyyddE318UsKYFbjDBE/DPri/FMvWOqtlyMx7ojYUhZgxt3AkWd7FX9qPPBxUt/ypLhfC4aFM1l6WfaBlagEXoXaObTzdBQsY9+4oJQBUdvTxafp0M3Sbdq2Q4nHxHevdGCsa/Eu9wJq5I74iT08hinf5wietLtEVosC0DjCiOsfpumahTuxcma/H9w5MCinCouFjCVp9UdNYMyB17/KzzD+qLOkpjAcNPKPHQe1 jenkins@ci-test
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApni1gnprpJALnAuaLWTU0CClKouVqSNb/3Qv3wx3scC71I2YbL4c/tf09HiX68Q7G7WcnPgtH7YpdKX3aKfvoCsymbeyjqwh7ffpdLKY0MsqSBViEahXdvewtKHDRmkH3fVsLWlr1LaerXap69gKNWtzQuBr+IajW3VMbSROJpim/mUu4dZvEF57itvEbFFrkeW/ZDJLUoT5CSE7aYpVr0iLeMKURrfknPZznWqzNhhv71X3DCkeFMMvpscgB9I4Zl/wfQJsQV+ssc+uEwwspfrMH0VD3tvKNl63RWxNDmC863XxF/srcDF6pSUAlKOb4p9XwjLrsDxK8zkq+WUzoQ== stefanosala@MacBook-Pro-di-Stefano-Sala.local
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0vnmAdTH3icVazejRgbeUGbfshialqWYunjN4ffxsSGHgXVIe9wfjjHUbGvsK+0YgWmDzSUYdvA/pW1zASUymcOBHbxQV1ZhIEzoImQpWI5I9KXLTfJMSEUP1ne8X60jhW9fpmkhWARlcqofbeyawnMa6tYPenhP7HhYX4PBsnSHRJtinUQazBJfUEsJg2qXyzbm2/yeqE6uB6o0KHt7sLltQ1pAzUOpmiKDDeWshWD7T+GsTJYrc9ccUCEaVQO3W+H6V8xlVVzfRYmefydePQ7xTnZKIySm105lNge3+upE96pT/j8ksEAnZzEjIfEhkXIQBwSi76CCnVg1llSj6Q== jenkins@git