on 12-10-2013 12:52 PM
Hola,
Tengo una Web Service en VS2010 y framework4 para SAP B1 9.0 pl07
He puesto una licencia para Di server y tengo 2 disponibles (Visto en Componentes)
Siguiendo el ejemplo de conexión Di Server genero el xml de parametros
sXML = "<?xml version="1.0" encoding="UTF-16U"?>" + _
"<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">" + _
"<env:Body><dis:Login xmlns:dis="http://www.sap.com/SBO/DIS">" + _
"<DatabaseServer>WIN-5P1FNSGQQB</DatabaseServer>" + _
"<DatabaseName>SBODemo_ES</DatabaseName>" + _
"<DatabaseType>dst_MSSQL2008</DatabaseType>" + _
"<DatabaseUsername>sa</DatabaseUsername>" + _
"<DatabasePassword>XXX</DatabasePassword>" + _
"<CompanyUsername>manager</CompanyUsername>" + _
"<CompanyPassword>XXX</CompanyPassword>" + _
"<Language>ln_Spanish</Language>" + _
"<LicenseServer>WIN-5P1FNSGQQB:30000</LicenseServer>" + _
" </dis:Login></env:Body></env:Envelope>"
sSOAP = oDIServerNode.Interact(sXML)
Respuesta SOAP
<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-8006</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Resource error</env:Text></env:Reason><env:Detail><Command>Login</Command></env:Detail></env:Fault></env:Body></env:Envelope>
Alguna idea de porque puede pasar este error?
Gracias!
Hola
ejecuta el DI Server usando una cuenta de administrador.
Si no funciona, tendrás que:
- borrar la carpeta SM_OBS_CLL.
- desinstalar la DI API.
- instalar la DI API.
Un saludo
Agustín Marcos Cividanes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hola Agustin,
Gracias por el comentario borre la carpeta SM_OBS_DLL del directorio temp del usuario activo es decir con el comando %temp% ubique la carpeta pero eso no funcionó. Yo no sabía que existe otra carpeta SM_OBS_DLL la cual se encuentra en la carpeta c:\windows\temp borrar esa carpeta si resolvió el problema. En realidad me parece que este es un bug en SAP B1 v9 (y quizás versiones anteriores) dado que sucedió sin motivo aparente. Ojalá y lo arregle SAP en alguna versión futura.
Gracias por tu apoyo.
Saludos cordiales
Antonio Ramirez
Hola Iñaki,
Actualmente tengo el mismo error que se te presentó. ¿Pudiste resolverlo? sería muy útil tu comentario para mí o cualquiera que se le presente ese mismo error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.