ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old February 25th, 2003, 09:25 AM
bbolte bbolte is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 11 bbolte User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
VB6 and SOAP problem

testing a soap service with VB before I go to ASP and I can't find any reference to this error:
Code:
Run-time error '5054'
Method 'EndMessage' of object 'ISoapConnector' failed


background: I went through the MS Soap 3 tutes, now i'm trying to set up a soap service with one of my active x exe's. did the wgen on it. now i'm setting up a vb6 client to test. basically, used the tutorial test client as a base and added my stuff in. here is some the code for the test client:

Code:
Private Function GetImage(ByVal Method As String, ByVal CatalogID As String, ByVal ItemNum As String, _
            ByVal TheStyle As String, ByVal ColorDes As String, ByVal TheText1 As String, ByVal TheText2 As String)

    Dim Serializer As SoapSerializer30
    Dim Reader As SoapReader30
    Dim ResultElm As IXMLDOMElement
    Dim FaultElm As IXMLDOMElement
    Dim Connector As SoapConnector30
    
    Set Connector = New HttpConnector30
    Connector.Property("EndPointURL") = END_POINT_URL
    Connector.Connect
    
    ' binding/operation/soapoperation
    Connector.Property("SoapAction") = SoapAction & Method
    Connector.BeginMessage
    
    Set Serializer = New SoapSerializer30
    Serializer.Init Connector.InputStream
    
    Serializer.StartEnvelope
    Serializer.StartBody
    Serializer.StartElement Method, CREATE_GRAPHIC
    Serializer.StartElement "strCatID"
    Serializer.WriteString CatalogID
    Serializer.EndElement
    Serializer.StartElement "strItemNo"
    Serializer.WriteString ItemNum
    Serializer.EndElement
    Serializer.StartElement "strStyle"
    Serializer.WriteString TheStyle
    Serializer.EndElement
    Serializer.StartElement "strColorDesc"
    Serializer.WriteString ColorDes
    Serializer.EndElement
    Serializer.StartElement "strText1"
    Serializer.WriteString TheText1
    Serializer.EndElement
    Serializer.StartElement "strText2"
    Serializer.WriteString TheText2
    Serializer.EndElement
    Serializer.EndElement
    Serializer.EndBody
    Serializer.EndEnvelope
    
    Connector.EndMessage    '<--- LINE THAT IT FAILS ON
        
    Set Reader = New SoapReader30
    Reader.Load Connector.OutputStream
    
    If Not Reader.Fault Is Nothing Then
        MsgBox Reader.FaultString.Text, vbExclamation
    Else
        GetImage = Reader.RpcResult.Text
    End If
End Function


can anyone lend me a hand here?

Reply With Quote
  #2  
Old January 6th, 2004, 08:29 AM
JWolters JWolters is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 JWolters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Same problem using ASP and SOAP

using an ASP page I experience the same problem when going from 'older' versions to 'newer' versions of the DLL's.

The site is not running anymore when I upgrade the MSXML.DLL to MSXML2 v2.6 and/or v4.0 (check on URL )

Reply With Quote
  #3  
Old February 21st, 2008, 03:11 PM
MarceloMigl MarceloMigl is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 1 MarceloMigl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 28 sec
Reputation Power: 0
The same error message

Hi,
I have the same problem using Soap 30 and Visual Basic 6 (belive it or not), could you help me?
I have then same error message...

Tks
Marcelo



Quote:
Originally Posted by bbolte
testing a soap service with VB before I go to ASP and I can't find any reference to this error:
Code:
Run-time error '5054'
Method 'EndMessage' of object 'ISoapConnector' failed


background: I went through the MS Soap 3 tutes, now i'm trying to set up a soap service with one of my active x exe's. did the wgen on it. now i'm setting up a vb6 client to test. basically, used the tutorial test client as a base and added my stuff in. here is some the code for the test client:

Code:
Private Function GetImage(ByVal Method As String, ByVal CatalogID As String, ByVal ItemNum As String, _
            ByVal TheStyle As String, ByVal ColorDes As String, ByVal TheText1 As String, ByVal TheText2 As String)

    Dim Serializer As SoapSerializer30
    Dim Reader As SoapReader30
    Dim ResultElm As IXMLDOMElement
    Dim FaultElm As IXMLDOMElement
    Dim Connector As SoapConnector30
    
    Set Connector = New HttpConnector30
    Connector.Property("EndPointURL") = END_POINT_URL
    Connector.Connect
    
    ' binding/operation/soapoperation
    Connector.Property("SoapAction") = SoapAction & Method
    Connector.BeginMessage
    
    Set Serializer = New SoapSerializer30
    Serializer.Init Connector.InputStream
    
    Serializer.StartEnvelope
    Serializer.StartBody
    Serializer.StartElement Method, CREATE_GRAPHIC
    Serializer.StartElement "strCatID"
    Serializer.WriteString CatalogID
    Serializer.EndElement
    Serializer.StartElement "strItemNo"
    Serializer.WriteString ItemNum
    Serializer.EndElement
    Serializer.StartElement "strStyle"
    Serializer.WriteString TheStyle
    Serializer.EndElement
    Serializer.StartElement "strColorDesc"
    Serializer.WriteString ColorDes
    Serializer.EndElement
    Serializer.StartElement "strText1"
    Serializer.WriteString TheText1
    Serializer.EndElement
    Serializer.StartElement "strText2"
    Serializer.WriteString TheText2
    Serializer.EndElement
    Serializer.EndElement
    Serializer.EndBody
    Serializer.EndEnvelope
    
    Connector.EndMessage    '<--- LINE THAT IT FAILS ON
        
    Set Reader = New SoapReader30
    Reader.Load Connector.OutputStream
    
    If Not Reader.Fault Is Nothing Then
        MsgBox Reader.FaultString.Text, vbExclamation
    Else
        GetImage = Reader.RpcResult.Text
    End If
End Function


can anyone lend me a hand here?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > VB6 and SOAP problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway