Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Service not found

Forum

Search UsersRules
Service not found
#1
Active user
Points:: 0
Joined:: Jan 11, 2013

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. http://localhost/ws1 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.

Regards
Keijo

Profile
#2
Active user
Points:: 0
Joined:: Nov 19, 2012

Keijo Nordstrom,
Can you provide here screenshoots of error with browser's address line, content of default.vrd, and web-service in Designer?

Profile
#3
Active user
Points:: 0
Joined:: Jan 11, 2013

Code
<?xml version="1.0" encoding="UTF-8"?>
<point xmlns="http://v8.1c.ru/8.2/virtual-resource-system"
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      base="/Fonder"
      ib="Srvr=&quot;kenohp&quot;;Ref=&quot;Fonder&quot;;"
      enableStandardOData="true"
      temp="D:\1C\Fonder\">
   <ws>
      <point name="MAExchange"
            alias="ws1.1cws"
            enable="true"/>
   </ws>
</point>

Hope enclosed pics are the one's you asked for..
Regards
Keijo

Profile
#4
Active user
Points:: 0
Joined:: Nov 19, 2012

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"?

Profile
#5
Active user
Points:: 0
Joined:: Jan 11, 2013

Hi Alexey,
The connection string is http://localhost/Fonder/ws/ws1.1cws. 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

Profile
#6
Active user
Points:: 0
Joined:: Jan 11, 2013

Sorry reason slipped in previous ..
Shall be ;
reason:
Unknown recipient
Regards
Keijo

Profile
#7
Active user
Points:: 0
Joined:: Jan 11, 2013

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

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.