community-content

Forum Replies Created

Viewing 15 posts - 3,976 through 3,990 (of 9,648 total)
  • Author
    Posts
  •  

    Thanks Russell for a great response! I’ll try it out and return with an update!

     

    //Ershad  

     Hi Tom,

    Thanks for your time and help.

    The web service’s request multi part message has only one part, namely input_xml and in Message Assignment shape’s expression this part is assigned value from input message like WebRequest_doc.input_xml = InboundDoc.input_xml; I also tried hard coding value into the part like WebRequest_doc.input_xml = “1234”; but I get the same error. The part input_xml is of String type and I need to pass a XML string to web method.

    The web method’s description(Request/Response) in browser shows as below:

    POST /c9sl/html/ISvcInterface.asmx HTTP/1.1
    Host: lrk4aa
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://www.smek.com/imaging/240/AcquireDocuments"
    
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlnsTongue Tiedoap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <AcquireDocuments xmlns="http://www.smek.com/imaging/240">
          <input_xml>string</input_xml>
        </AcquireDocuments>
      </soap:Body>
    </soap:Envelope>
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlnsTongue Tiedoap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <AcquireDocumentsResponse xmlns="http://www.smek.com/imaging/240">
          <AcquireDocumentsResult>string</AcquireDocumentsResult>
        </AcquireDocumentsResponse>
      </soap:Body>
    </soap:Envelope>

    Thanks & Regards,

    Sharad

    in reply to: Loosing Map after Schema change #20503

    Find and replace worked easily when doing it in XML Editor in VS. Wasn’t working when using a different XML Editor.

     

    ALL GOOD!

     

    in reply to: Loosing Map after Schema change #20502

    Thanks. Building by hand seems the way to go. i have been looking at the Map through the XML Editor and I am finding it quite difficult to see where i would put the required entries. There’s no real pattern for the xpath links. They kind of start all over the place.

    in reply to: Timeout Using SAP Adapter #20501

    Try this:  Open the BizTalk admin console and go to the group hub page.  Run a new query for “All Service Instances”.  Do you see any suspended messages?  If any of your SAP reqests are in there, you can select them and view the exception details.  Also you can usually find useful error information in the application event viewer.

    in reply to: Loosing Map after Schema change #20500

    Sorry, but I think you will have to rebuild the map by hand [:(].  The only other thing that I could think of would be to open the map in an XML editor and do a find and replace to update all of the XPath statements (make a backup first!).

    Hopefully, someone will correct me.

    in reply to: How to use Temp file during FTP upload #20498

     Hi Tom/Ruselw

    First of all i am very much Thankful for your suggestion i appericiate your suggestion.

    But as such nsoftware is 3rd party tool and client has some financial issue due to we cant afford such 3rd party tool.

    Now i make one .Net application which ll rename files on FTP as per user requirements and i execute that application using expression shape after it upload file on FTP.

    Regards,

    Dhaval M.

    Sharad,

    Web services usually end up with multi-part messages. If you look at the types section in the BizTalk orchestrations tool windows, you can see the definition of your message. Basically, think of a multi-part message as a single container that contains multiple “independent” data streams grouped together.

    So yes, you need to initialize each one separately inside the same Construct Message shape. You’ll find that each part is accessible as “msg.<partname>”.

     

    in reply to: How to use Temp file during FTP upload #20496

    Dhaval,

    I guess you could try uploading the file to a different file name (say with a different extension or folder) and then add an After Put command that renames/moves the file. Like Russel’s suggestion, I also recommend looking at nsoftware’s adapter as an option; it’s pretty complete. It actually does contain an option for uploading the file with a temporary extension and automatically rename it once the upload is complete, which is pretty useful in cases like this.

    Since you are on R2, I would recommend using the WCF-BasicHttp adapter instead of the SOAP adapter.  This adapter has a schema generation wizard which works much better than adding a web reference.  Here is a walkthrough  http://msdn.microsoft.com/en-us/library/bb246019.aspx.  Also, the WCF adapters will greatly improve your life over the SOAP adapter 🙂

    in reply to: Orchestration activation pattern #20493

    seems the sample code has been migrated. can you please let me know the new path

     

    in the Biztalk admin console, in the group hub page, are there any suspended messages from your testing? If so, what is the value of the MessageType context propert? Usually “no subscribers found” errors are caused by the message type.

    Following the Error message

    Event Type: Error
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5778
    Date:  8/24/2008
    Time:  12:01:15 PM
    User:  N/A
    Computer: BATORMYTRAK1
    Description:
    The Messaging engine failed to process a message submitted by adapter:FILE Source URL:C:\MyTrakPortal\Data\ZipUpload\*.gz. Details:The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure.

    While I have already checked the subscriptions / Enlistiing of Pipelines / Ports etc.

    This Pipeline work perfect when I use it Independently but when I replace the Pipeline from standard “XML Rcv” to the “DecompressOnRcv” in my project I get this error..

    Still No luck though t appeares simple.

    Thanks, Nagin.

     What is the error you are getting?

    Thanks a lot for our Inputs.

    I found an SDK Sample shipped with BizTalk 2006 R2 to Compress and DeCompress using GZipStream .NET Class and it woks perfect but When I use the same PipeLine component in my project I am getting error reading the file.

    Earlier it was a straight XML and now its a .gz file hence looks like I am having  Stream Read issues.

    Any clues ?

    Thanks, Nagin

     

Viewing 15 posts - 3,976 through 3,990 (of 9,648 total)