Rating:
4
Joined: Jan 11, 2013
Company: Brighteye AB
Hi, get 'Service not found' when trying to use samples from 1C and Web Services. Using local machine only , 32 bit and have published according to all samples, e.g. as namespace for service. Something in security settings in IIS I have not found? /ws/ described correctly in default.vrd. And can se the xml file if run from Internet Explorer.
Keijo Nordstrom, Yes, thanks. So you caught an error in 1C.. it might be some issue with source code. May you show here also your 1C code for calling web-service? Does your connection string looks like "http://localhost/Fonder/ws/MAExchange"?
Rating:
4
Joined: Jan 11, 2013
Company: Brighteye AB
Hi Alexey, The connection string is . The synonym for MAExchange. I managed to get connection, setting Anonymous Authentication in IIS, but got other error.
SOAP server error: Unknown error. {CommonModule.ExchangeMobileGeneral.Module(87)}: Error calling context method (BeginRead) reason: {CommonModule.ExchangeMobileGeneral.Module(87)}: Error calling context method (BeginRead) reason: Calling Function Is :
Code
Address = Constants.MainInfoBaseAddress.Get();
User = Constants.MainInfoBaseUser.Get();
Address = Address + "/ws/ws1.1cws?wsdl";
Try
Definitions = New WSDefinitions(Address,User,Password, 60);
Except
// Showing the error message to the user
ErrorText = NStr("en = 'Cannot connect the server. Please try again later.'; sv= '
| Kan ej ansluta till server. Försök senare!'", "sv");
Return Undefined;
EndTry;
URI = ServiceNamespaceURI();
Proxy = New WSProxy(Definitions, URI,"MAExchange", "MAExchangeSoap");
Proxy.User = User;
Proxy.Password = Password;
Return Proxy;
Just copied from 1C Managed Demo Maybe totally wrong? Regards Keijo
Rating:
4
Joined: Jan 11, 2013
Company: Brighteye AB
Hi, found the problem, my own mistake with Node definitions. Still problem with authorities, need to use Anonymous logg in, but that is more related to Windows. Thanks for helps Keijo
Pages:1
Users browsing this topic (guests: 4, registered: 0, hidden: 0)